Switch AppRTCMobile #import headers.

Bug: None
Change-Id: Ia03faae59e4891039fc6c0acdeb51fdfea048c7b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/189547
Reviewed-by: Anders Carlsson <andersc@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32447}
This commit is contained in:
Mirko Bonadei
2020-10-19 16:12:43 +02:00
committed by Commit Bot
parent d273ed0320
commit 19640aa61b
40 changed files with 121 additions and 104 deletions

View File

@ -10,7 +10,7 @@
#import "ARDAppClient.h"
#import <WebRTC/RTCPeerConnection.h>
#import "sdk/objc/api/peerconnection/RTCPeerConnection.h"
#import "ARDRoomServerClient.h"
#import "ARDSignalingChannel.h"

View File

@ -9,8 +9,9 @@
*/
#import <Foundation/Foundation.h>
#import <WebRTC/RTCPeerConnection.h>
#import <WebRTC/RTCVideoTrack.h>
#import "sdk/objc/api/peerconnection/RTCPeerConnection.h"
#import "sdk/objc/api/peerconnection/RTCVideoTrack.h"
typedef NS_ENUM(NSInteger, ARDAppClientState) {
// Disconnected from servers.

View File

@ -10,23 +10,23 @@
#import "ARDAppClient+Internal.h"
#import <WebRTC/RTCAudioTrack.h>
#import <WebRTC/RTCCameraVideoCapturer.h>
#import <WebRTC/RTCConfiguration.h>
#import <WebRTC/RTCDefaultVideoDecoderFactory.h>
#import <WebRTC/RTCDefaultVideoEncoderFactory.h>
#import <WebRTC/RTCFileLogger.h>
#import <WebRTC/RTCFileVideoCapturer.h>
#import <WebRTC/RTCIceServer.h>
#import <WebRTC/RTCLogging.h>
#import <WebRTC/RTCMediaConstraints.h>
#import <WebRTC/RTCMediaStream.h>
#import <WebRTC/RTCPeerConnectionFactory.h>
#import <WebRTC/RTCRtpSender.h>
#import <WebRTC/RTCRtpTransceiver.h>
#import <WebRTC/RTCTracing.h>
#import <WebRTC/RTCVideoSource.h>
#import <WebRTC/RTCVideoTrack.h>
#import "sdk/objc/api/peerconnection/RTCAudioTrack.h"
#import "sdk/objc/api/peerconnection/RTCConfiguration.h"
#import "sdk/objc/api/peerconnection/RTCFileLogger.h"
#import "sdk/objc/api/peerconnection/RTCIceServer.h"
#import "sdk/objc/api/peerconnection/RTCMediaConstraints.h"
#import "sdk/objc/api/peerconnection/RTCMediaStream.h"
#import "sdk/objc/api/peerconnection/RTCPeerConnectionFactory.h"
#import "sdk/objc/api/peerconnection/RTCRtpSender.h"
#import "sdk/objc/api/peerconnection/RTCRtpTransceiver.h"
#import "sdk/objc/api/peerconnection/RTCTracing.h"
#import "sdk/objc/api/peerconnection/RTCVideoSource.h"
#import "sdk/objc/api/peerconnection/RTCVideoTrack.h"
#import "sdk/objc/base/RTCLogging.h"
#import "sdk/objc/components/capturer/RTCCameraVideoCapturer.h"
#import "sdk/objc/components/capturer/RTCFileVideoCapturer.h"
#import "sdk/objc/components/video_codec/RTCDefaultVideoDecoderFactory.h"
#import "sdk/objc/components/video_codec/RTCDefaultVideoEncoderFactory.h"
#import "ARDAppEngineClient.h"
#import "ARDExternalSampleCapturer.h"

View File

@ -10,7 +10,7 @@
#import "ARDAppEngineClient.h"
#import <WebRTC/RTCLogging.h>
#import "sdk/objc/base/RTCLogging.h"
#import "ARDJoinResponse.h"
#import "ARDMessageResponse.h"

View File

@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#import <WebRTC/RTCCameraVideoCapturer.h>
#import "sdk/objc/components/capturer/RTCCameraVideoCapturer.h"
@class ARDSettingsModel;

View File

@ -10,7 +10,7 @@
#import "ARDCaptureController.h"
#import <WebRTC/RTCLogging.h>
#import "sdk/objc/base/RTCLogging.h"
#import "ARDSettingsModel.h"

View File

@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#import <WebRTC/RTCVideoCapturer.h>
#import "sdk/objc/base/RTCVideoCapturer.h"
@protocol ARDExternalSampleDelegate <NSObject>
- (void)didCaptureSampleBuffer:(CMSampleBufferRef)sampleBuffer;

View File

@ -10,8 +10,14 @@
#import "ARDExternalSampleCapturer.h"
#import <WebRTC/RTCCVPixelBuffer.h>
#import <WebRTC/RTCVideoFrameBuffer.h>
#import "sdk/objc/api/video_frame_buffer/RTCNativeI420Buffer.h"
#import "sdk/objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.h"
#import "sdk/objc/base/RTCI420Buffer.h"
#import "sdk/objc/base/RTCMutableI420Buffer.h"
#import "sdk/objc/base/RTCMutableYUVPlanarBuffer.h"
#import "sdk/objc/base/RTCVideoFrameBuffer.h"
#import "sdk/objc/base/RTCYUVPlanarBuffer.h"
#import "sdk/objc/components/video_frame_buffer/RTCCVPixelBuffer.h"
@implementation ARDExternalSampleCapturer

View File

@ -10,7 +10,7 @@
#import <Foundation/Foundation.h>
#import <WebRTC/RTCVideoCodecInfo.h>
#import "sdk/objc/base/RTCVideoCodecInfo.h"
NS_ASSUME_NONNULL_BEGIN

View File

@ -11,9 +11,9 @@
#import "ARDSettingsModel+Private.h"
#import "ARDSettingsStore.h"
#import <WebRTC/RTCCameraVideoCapturer.h>
#import <WebRTC/RTCDefaultVideoEncoderFactory.h>
#import <WebRTC/RTCMediaConstraints.h>
#import "sdk/objc/api/peerconnection/RTCMediaConstraints.h"
#import "sdk/objc/components/capturer/RTCCameraVideoCapturer.h"
#import "sdk/objc/components/video_codec/RTCDefaultVideoEncoderFactory.h"
NS_ASSUME_NONNULL_BEGIN

View File

@ -10,8 +10,8 @@
#import <Foundation/Foundation.h>
#import <WebRTC/RTCIceCandidate.h>
#import <WebRTC/RTCSessionDescription.h>
#import "sdk/objc/api/peerconnection/RTCIceCandidate.h"
#import "sdk/objc/api/peerconnection/RTCSessionDescription.h"
typedef enum {
kARDSignalingMessageTypeCandidate,

View File

@ -10,7 +10,7 @@
#import "ARDSignalingMessage.h"
#import <WebRTC/RTCLogging.h>
#import "sdk/objc/base/RTCLogging.h"
#import "ARDUtilities.h"
#import "RTCIceCandidate+JSON.h"

View File

@ -10,7 +10,7 @@
#import <Foundation/Foundation.h>
#import <WebRTC/RTCMacros.h>
#import "sdk/objc/base/RTCMacros.h"
@class RTC_OBJC_TYPE(RTCLegacyStatsReport);

View File

@ -10,8 +10,8 @@
#import "ARDStatsBuilder.h"
#import <WebRTC/RTCLegacyStatsReport.h>
#import <WebRTC/RTCMacros.h>
#import "sdk/objc/api/peerconnection/RTCLegacyStatsReport.h"
#import "sdk/objc/base/RTCMacros.h"
#import "ARDBitrateTracker.h"
#import "ARDUtilities.h"

View File

@ -10,7 +10,7 @@
#import <Foundation/Foundation.h>
#import <WebRTC/RTCMacros.h>
#import "sdk/objc/base/RTCMacros.h"
@class RTC_OBJC_TYPE(RTCIceServer);

View File

@ -10,7 +10,8 @@
#import "ARDWebSocketChannel.h"
#import <WebRTC/RTCLogging.h>
#import "sdk/objc/base/RTCLogging.h"
#import "SRWebSocket.h"
#import "ARDSignalingMessage.h"

View File

@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#import <WebRTC/RTCIceCandidate.h>
#import "sdk/objc/api/peerconnection/RTCIceCandidate.h"
@interface RTC_OBJC_TYPE (RTCIceCandidate)
(JSON)

View File

@ -10,7 +10,7 @@
#import "RTCIceCandidate+JSON.h"
#import <WebRTC/RTCLogging.h>
#import "sdk/objc/base/RTCLogging.h"
static NSString const *kRTCICECandidateTypeKey = @"type";
static NSString const *kRTCICECandidateTypeValue = @"candidate";

View File

@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#import <WebRTC/RTCIceServer.h>
#import "sdk/objc/api/peerconnection/RTCIceServer.h"
@interface RTC_OBJC_TYPE (RTCIceServer)
(JSON)

View File

@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#import <WebRTC/RTCSessionDescription.h>
#import "sdk/objc/api/peerconnection/RTCSessionDescription.h"
@interface RTC_OBJC_TYPE (RTCSessionDescription)
(JSON)

View File

@ -12,7 +12,7 @@
#import <mach/mach.h>
#import <WebRTC/RTCLogging.h>
#import "sdk/objc/base/RTCLogging.h"
@implementation NSDictionary (ARDUtilites)

View File

@ -10,10 +10,10 @@
#import "ARDAppDelegate.h"
#import <WebRTC/RTCFieldTrials.h>
#import <WebRTC/RTCLogging.h>
#import <WebRTC/RTCSSLAdapter.h>
#import <WebRTC/RTCTracing.h>
#import "sdk/objc/api/peerconnection/RTCFieldTrials.h"
#import "sdk/objc/api/peerconnection/RTCSSLAdapter.h"
#import "sdk/objc/api/peerconnection/RTCTracing.h"
#import "sdk/objc/base/RTCLogging.h"
#import "ARDMainViewController.h"

View File

@ -10,7 +10,7 @@
#import <Foundation/Foundation.h>
#import <WebRTC/RTCMacros.h>
#import "sdk/objc/base/RTCMacros.h"
@class RTC_OBJC_TYPE(RTCFileVideoCapturer);

View File

@ -10,7 +10,7 @@
#import "ARDFileCaptureController.h"
#import <WebRTC/RTCFileVideoCapturer.h>
#import "sdk/objc/components/capturer/RTCFileVideoCapturer.h"
@interface ARDFileCaptureController ()

View File

@ -12,10 +12,10 @@
#import <AVFoundation/AVFoundation.h>
#import <WebRTC/RTCAudioSession.h>
#import <WebRTC/RTCAudioSessionConfiguration.h>
#import <WebRTC/RTCDispatcher.h>
#import <WebRTC/RTCLogging.h>
#import "sdk/objc/base/RTCLogging.h"
#import "sdk/objc/components/audio/RTCAudioSession.h"
#import "sdk/objc/components/audio/RTCAudioSessionConfiguration.h"
#import "sdk/objc/helpers/RTCDispatcher.h"
#import "ARDAppClient.h"
#import "ARDMainView.h"

View File

@ -10,7 +10,7 @@
#import "ARDStatsView.h"
#import <WebRTC/RTCLegacyStatsReport.h>
#import "sdk/objc/api/peerconnection/RTCLegacyStatsReport.h"
#import "ARDStatsBuilder.h"

View File

@ -10,8 +10,8 @@
#import <UIKit/UIKit.h>
#import <WebRTC/RTCCameraPreviewView.h>
#import <WebRTC/RTCVideoRenderer.h>
#import "sdk/objc/base/RTCVideoRenderer.h"
#import "sdk/objc/helpers/RTCCameraPreviewView.h"
#import "ARDStatsView.h"

View File

@ -12,9 +12,9 @@
#import <AVFoundation/AVFoundation.h>
#import <WebRTC/RTCEAGLVideoView.h>
#import "sdk/objc/components/renderer/opengl/RTCEAGLVideoView.h"
#if defined(RTC_SUPPORTS_METAL)
#import <WebRTC/RTCMTLVideoView.h>
#import "sdk/objc/components/renderer/metal/RTCMTLVideoView.h" // nogncheck
#endif
#import "UIImage+ARDUtilities.h"

View File

@ -10,11 +10,11 @@
#import "ARDVideoCallViewController.h"
#import <WebRTC/RTCAudioSession.h>
#import <WebRTC/RTCCameraVideoCapturer.h>
#import <WebRTC/RTCDispatcher.h>
#import <WebRTC/RTCLogging.h>
#import <WebRTC/RTCMediaConstraints.h>
#import "sdk/objc/api/peerconnection/RTCMediaConstraints.h"
#import "sdk/objc/base/RTCLogging.h"
#import "sdk/objc/components/audio/RTCAudioSession.h"
#import "sdk/objc/components/capturer/RTCCameraVideoCapturer.h"
#import "sdk/objc/helpers/RTCDispatcher.h"
#import "ARDAppClient.h"
#import "ARDCaptureController.h"

View File

@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#import <WebRTC/RTCVideoCodecInfo.h>
#import "sdk/objc/base/RTCVideoCodecInfo.h"
@interface RTC_OBJC_TYPE (RTCVideoCodecInfo)
(HumanReadable)

View File

@ -10,7 +10,7 @@
#import "RTCVideoCodecInfo+HumanReadable.h"
#import <WebRTC/RTCH264ProfileLevelId.h>
#import "sdk/objc/components/video_codec/RTCH264ProfileLevelId.h"
@implementation RTC_OBJC_TYPE (RTCVideoCodecInfo)
(HumanReadable)

View File

@ -10,7 +10,7 @@
#import <ReplayKit/ReplayKit.h>
#import <WebRTC/RTCLogging.h>
#import "sdk/objc/base/RTCLogging.h"
#import "ARDAppClient.h"

View File

@ -15,8 +15,8 @@
#import "ARDExternalSampleCapturer.h"
#import "ARDSettingsModel.h"
#import <WebRTC/RTCCallbackLogger.h>
#import <WebRTC/RTCLogging.h>
#import "sdk/objc/api/logging/RTCCallbackLogger.h"
#import "sdk/objc/base/RTCLogging.h"
@implementation ARDBroadcastSampleHandler {
ARDAppClient *_client;

View File

@ -10,7 +10,7 @@
#import "APPRTCAppDelegate.h"
#import "APPRTCViewController.h"
#import <WebRTC/RTCSSLAdapter.h>
#import "sdk/objc/api/peerconnection/RTCSSLAdapter.h"
@interface APPRTCAppDelegate () <NSWindowDelegate>
@end

View File

@ -12,9 +12,9 @@
#import <AVFoundation/AVFoundation.h>
#import <WebRTC/RTCMTLNSVideoView.h>
#import <WebRTC/RTCNSGLVideoView.h>
#import <WebRTC/RTCVideoTrack.h>
#import "sdk/objc/api/peerconnection/RTCVideoTrack.h"
#import "sdk/objc/components/renderer/metal/RTCMTLNSVideoView.h"
#import "sdk/objc/components/renderer/opengl/RTCNSGLVideoView.h"
#import "ARDAppClient.h"
#import "ARDCaptureController.h"

View File

@ -15,8 +15,8 @@
#include "rtc_base/ssl_adapter.h"
#import <WebRTC/RTCMediaConstraints.h>
#import <WebRTC/RTCPeerConnectionFactory.h>
#import "sdk/objc/api/peerconnection/RTCMediaConstraints.h"
#import "sdk/objc/api/peerconnection/RTCPeerConnectionFactory.h"
#import "ARDAppClient+Internal.h"
#import "ARDJoinResponse+Internal.h"

View File

@ -14,7 +14,7 @@
#import "ARDFileCaptureController.h"
#import <WebRTC/RTCFileVideoCapturer.h>
#import "sdk/objc/components/capturer/RTCFileVideoCapturer.h"
NS_CLASS_AVAILABLE_IOS(10)
@interface ARDFileCaptureControllerTests : XCTestCase

View File

@ -12,7 +12,7 @@
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#import <WebRTC/RTCMediaConstraints.h>
#import "sdk/objc/api/peerconnection/RTCMediaConstraints.h"
#import "ARDSettingsModel+Private.h"
#import "ARDSettingsStore.h"