OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2014 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 @property(nonatomic, assign) BOOL shouldGetStats; | 58 @property(nonatomic, assign) BOOL shouldGetStats; |
59 @property(nonatomic, readonly) ARDAppClientState state; | 59 @property(nonatomic, readonly) ARDAppClientState state; |
60 @property(nonatomic, weak) id<ARDAppClientDelegate> delegate; | 60 @property(nonatomic, weak) id<ARDAppClientDelegate> delegate; |
61 // Convenience constructor since all expected use cases will need a delegate | 61 // Convenience constructor since all expected use cases will need a delegate |
62 // in order to receive remote tracks. | 62 // in order to receive remote tracks. |
63 - (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate; | 63 - (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate; |
64 | 64 |
65 // Sets camera constraints. | 65 // Sets camera constraints. |
66 - (void)setCameraConstraints:(RTCMediaConstraints *)mediaConstraints; | 66 - (void)setCameraConstraints:(RTCMediaConstraints *)mediaConstraints; |
67 | 67 |
| 68 // Sets maximum bitrate the rtp sender should use. |
| 69 - (void)setMaxBitrate:(NSNumber *)maxBitrate; |
| 70 |
68 // Establishes a connection with the AppRTC servers for the given room id. | 71 // Establishes a connection with the AppRTC servers for the given room id. |
69 // If |isLoopback| is true, the call will connect to itself. | 72 // If |isLoopback| is true, the call will connect to itself. |
70 // If |isAudioOnly| is true, video will be disabled for the call. | 73 // If |isAudioOnly| is true, video will be disabled for the call. |
71 // If |shouldMakeAecDump| is true, an aecdump will be created for the call. | 74 // If |shouldMakeAecDump| is true, an aecdump will be created for the call. |
72 // If |shouldUseLevelControl| is true, the level controller will be used | 75 // If |shouldUseLevelControl| is true, the level controller will be used |
73 // in the call. | 76 // in the call. |
74 - (void)connectToRoomWithId:(NSString *)roomId | 77 - (void)connectToRoomWithId:(NSString *)roomId |
75 isLoopback:(BOOL)isLoopback | 78 isLoopback:(BOOL)isLoopback |
76 isAudioOnly:(BOOL)isAudioOnly | 79 isAudioOnly:(BOOL)isAudioOnly |
77 shouldMakeAecDump:(BOOL)shouldMakeAecDump | 80 shouldMakeAecDump:(BOOL)shouldMakeAecDump |
78 shouldUseLevelControl:(BOOL)shouldUseLevelControl; | 81 shouldUseLevelControl:(BOOL)shouldUseLevelControl; |
79 | 82 |
80 // Disconnects from the AppRTC servers and any connected clients. | 83 // Disconnects from the AppRTC servers and any connected clients. |
81 - (void)disconnect; | 84 - (void)disconnect; |
82 | 85 |
83 @end | 86 @end |
OLD | NEW |