Index: webrtc/examples/objc/AppRTCMobile/ARDAppClient.h |
diff --git a/webrtc/examples/objc/AppRTCMobile/ARDAppClient.h b/webrtc/examples/objc/AppRTCMobile/ARDAppClient.h |
index 0feb01586aab2a0760267f591c3012d6a477886b..933dc6b1a01bb5fb63cf45945985b620d6485fbb 100644 |
--- a/webrtc/examples/objc/AppRTCMobile/ARDAppClient.h |
+++ b/webrtc/examples/objc/AppRTCMobile/ARDAppClient.h |
@@ -23,6 +23,7 @@ typedef NS_ENUM(NSInteger, ARDAppClientState) { |
}; |
@class ARDAppClient; |
+@class ARDSettingsModel; |
@class RTCMediaConstraints; |
// The delegate is informed of pertinent events and will be called on the |
@@ -60,22 +61,17 @@ typedef NS_ENUM(NSInteger, ARDAppClientState) { |
@property(nonatomic, weak) id<ARDAppClientDelegate> delegate; |
// Convenience constructor since all expected use cases will need a delegate |
// in order to receive remote tracks. |
-- (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate |
- preferVideoCodec:(NSString*)codec; |
- |
-// Sets camera constraints. |
-- (void)setCameraConstraints:(RTCMediaConstraints *)mediaConstraints; |
- |
-// Sets maximum bitrate the rtp sender should use. |
-- (void)setMaxBitrate:(NSNumber *)maxBitrate; |
+- (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate; |
// Establishes a connection with the AppRTC servers for the given room id. |
+// |settings| is an object containing settings such as video codec for the call. |
// If |isLoopback| is true, the call will connect to itself. |
// If |isAudioOnly| is true, video will be disabled for the call. |
// If |shouldMakeAecDump| is true, an aecdump will be created for the call. |
// If |shouldUseLevelControl| is true, the level controller will be used |
// in the call. |
- (void)connectToRoomWithId:(NSString *)roomId |
+ settings:(ARDSettingsModel *)settings |
isLoopback:(BOOL)isLoopback |
isAudioOnly:(BOOL)isAudioOnly |
shouldMakeAecDump:(BOOL)shouldMakeAecDump |