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

Unified Diff: webrtc/examples/objc/AppRTCDemo/ARDAppClient.h

Issue 1334003002: Loopback mode for AppRTCDemo on iOS. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add call options header and start call button Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/examples/objc/AppRTCDemo/ARDAppClient.h
diff --git a/webrtc/examples/objc/AppRTCDemo/ARDAppClient.h b/webrtc/examples/objc/AppRTCDemo/ARDAppClient.h
index d591704985177fa5d712c6fb417bf95d9699185c..0745c16a4c58bc3e79dea9b31b7356d809d86c9d 100644
--- a/webrtc/examples/objc/AppRTCDemo/ARDAppClient.h
+++ b/webrtc/examples/objc/AppRTCDemo/ARDAppClient.h
@@ -61,11 +61,11 @@ typedef NS_ENUM(NSInteger, ARDAppClientState) {
- (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate;
// Establishes a connection with the AppRTC servers for the given room id.
-// TODO(tkchin): provide available keys/values for options. This will be used
-// for call configurations such as overriding server choice, specifying codecs
-// and so on.
+// If |isLoopback| is true, the call will connect to itself.
+// If |isAudioOnly| is true, video will be disabled for the call.
- (void)connectToRoomWithId:(NSString *)roomId
- options:(NSDictionary *)options;
+ isLoopback:(BOOL)isLoopback
+ isAudioOnly:(BOOL)isAudioOnly;
// Disconnects from the AppRTC servers and any connected clients.
- (void)disconnect;
« no previous file with comments | « no previous file | webrtc/examples/objc/AppRTCDemo/ARDAppClient.m » ('j') | webrtc/examples/objc/AppRTCDemo/ARDAppClient.m » ('J')

Powered by Google App Engine
This is Rietveld 408576698