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

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

Issue 2735303004: Add video codec setting to AppRTCMobile on iOS. (Closed)
Patch Set: Remove unneeded handlers. Created 3 years, 9 months 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
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 video codec the client should use.
69 - (void)setVideoCodec:(NSString *)videoCodec;
70
68 // Sets maximum bitrate the rtp sender should use. 71 // Sets maximum bitrate the rtp sender should use.
69 - (void)setMaxBitrate:(NSNumber *)maxBitrate; 72 - (void)setMaxBitrate:(NSNumber *)maxBitrate;
70 73
71 // Establishes a connection with the AppRTC servers for the given room id. 74 // Establishes a connection with the AppRTC servers for the given room id.
72 // If |isLoopback| is true, the call will connect to itself. 75 // If |isLoopback| is true, the call will connect to itself.
73 // If |isAudioOnly| is true, video will be disabled for the call. 76 // If |isAudioOnly| is true, video will be disabled for the call.
74 // If |shouldMakeAecDump| is true, an aecdump will be created for the call. 77 // If |shouldMakeAecDump| is true, an aecdump will be created for the call.
75 // If |shouldUseLevelControl| is true, the level controller will be used 78 // If |shouldUseLevelControl| is true, the level controller will be used
76 // in the call. 79 // in the call.
77 - (void)connectToRoomWithId:(NSString *)roomId 80 - (void)connectToRoomWithId:(NSString *)roomId
78 isLoopback:(BOOL)isLoopback 81 isLoopback:(BOOL)isLoopback
79 isAudioOnly:(BOOL)isAudioOnly 82 isAudioOnly:(BOOL)isAudioOnly
80 shouldMakeAecDump:(BOOL)shouldMakeAecDump 83 shouldMakeAecDump:(BOOL)shouldMakeAecDump
81 shouldUseLevelControl:(BOOL)shouldUseLevelControl; 84 shouldUseLevelControl:(BOOL)shouldUseLevelControl;
82 85
83 // Disconnects from the AppRTC servers and any connected clients. 86 // Disconnects from the AppRTC servers and any connected clients.
84 - (void)disconnect; 87 - (void)disconnect;
85 88
86 @end 89 @end
OLDNEW
« no previous file with comments | « no previous file | webrtc/examples/objc/AppRTCMobile/ARDAppClient.m » ('j') | webrtc/examples/objc/AppRTCMobile/ARDAppClient.m » ('J')

Powered by Google App Engine
This is Rietveld 408576698