Obj-C SDK Cleanup
This CL separates the files under sdk/objc into logical directories, replacing the previous file layout under Framework/. A long term goal is to have some system set up to generate the files under sdk/objc/api (the PeerConnection API wrappers) from the C++ code. In the shorter term the goal is to abstract out shared concepts from these classes in order to make them as uniform as possible. The separation into base/, components/, and helpers/ are to differentiate between the base layer's common protocols, various utilities and the actual platform specific components. The old directory layout that resembled a framework's internal layout is not necessary, since it is generated by the framework target when building it. Bug: webrtc:9627 Change-Id: Ib084fd83f050ae980649ca99e841f4fb0580bd8f Reviewed-on: https://webrtc-review.googlesource.com/94142 Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Commit-Queue: Anders Carlsson <andersc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24493}
This commit is contained in:

committed by
Commit Bot

parent
9ea5765f78
commit
7bca8ca4e2
@ -10,11 +10,14 @@
|
||||
|
||||
#import "NADViewController.h"
|
||||
|
||||
#import <WebRTC/RTCCameraPreviewView.h>
|
||||
#import <WebRTC/RTCCameraVideoCapturer.h>
|
||||
#import <WebRTC/RTCEAGLVideoView.h>
|
||||
#import <WebRTC/RTCMTLVideoView.h>
|
||||
#import <WebRTC/RTCVideoRenderer.h>
|
||||
#import "sdk/objc/base/RTCVideoRenderer.h"
|
||||
#import "sdk/objc/components/capturer/RTCCameraVideoCapturer.h"
|
||||
#if defined(RTC_SUPPORTS_METAL)
|
||||
#import "sdk/objc/components/renderer/metal/RTCMTLVideoView.h" // nogncheck
|
||||
#endif
|
||||
#import "sdk/objc/components/renderer/opengl/RTCEAGLVideoView.h"
|
||||
#import "sdk/objc/helpers/RTCCameraPreviewView.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "objccallclient.h"
|
||||
|
@ -12,9 +12,10 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#import <WebRTC/RTCCameraPreviewView.h>
|
||||
#import <WebRTC/RTCVideoCodecFactory.h>
|
||||
#import <WebRTC/RTCVideoRenderer.h>
|
||||
#import "sdk/objc/base/RTCVideoRenderer.h"
|
||||
#import "sdk/objc/components/video_codec/RTCDefaultVideoDecoderFactory.h"
|
||||
#import "sdk/objc/components/video_codec/RTCDefaultVideoEncoderFactory.h"
|
||||
#import "sdk/objc/helpers/RTCCameraPreviewView.h"
|
||||
|
||||
#include "absl/memory/memory.h"
|
||||
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
|
||||
@ -22,10 +23,10 @@
|
||||
#include "api/peerconnectioninterface.h"
|
||||
#include "media/engine/webrtcmediaengine.h"
|
||||
#include "modules/audio_processing/include/audio_processing.h"
|
||||
#include "sdk/objc/Framework/Native/api/video_capturer.h"
|
||||
#include "sdk/objc/Framework/Native/api/video_decoder_factory.h"
|
||||
#include "sdk/objc/Framework/Native/api/video_encoder_factory.h"
|
||||
#include "sdk/objc/Framework/Native/api/video_renderer.h"
|
||||
#include "sdk/objc/native/api/video_capturer.h"
|
||||
#include "sdk/objc/native/api/video_decoder_factory.h"
|
||||
#include "sdk/objc/native/api/video_encoder_factory.h"
|
||||
#include "sdk/objc/native/api/video_renderer.h"
|
||||
|
||||
namespace webrtc_examples {
|
||||
|
||||
|
Reference in New Issue
Block a user