Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Side by Side Diff: webrtc/examples/objc/AppRTCMobile/ARDAppClient.h

Issue 2484733002: Expose bit rate property in ARDAppClient and set max bitrate for video RTCRtcSender. (Closed)
Patch Set: Inline property instead of introducing local var Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/examples/objc/AppRTCMobile/ARDAppClient.m » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | webrtc/examples/objc/AppRTCMobile/ARDAppClient.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698