From c31d4d03244f15681520e65bd48fd0fa5c7821a3 Mon Sep 17 00:00:00 2001 From: "fischman@webrtc.org" Date: Thu, 5 Sep 2013 21:49:58 +0000 Subject: AppRTCDemo(iOS): prefer ISAC as audio codec This makes audio flow well bidirectionally to an iPod Touch (5th gen). Also: - Update to new turnserver JSON style: - separate username field - multiple URLs for the same server (e.g. both UDP & TCP) - Added more explicit logging for ICE Connected since it's useful for debugging - Give focus to the input field on app launch since that's the only useful thing to have focus on, anyway. - Fix minor typos - Cleaned up trailing whitespace and hard tabs BUG=2191 R=wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2127004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4687 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/app/webrtc/objc/public/RTCICEServer.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'talk/app/webrtc/objc/public') diff --git a/talk/app/webrtc/objc/public/RTCICEServer.h b/talk/app/webrtc/objc/public/RTCICEServer.h index 717d042f78..63c14efaaf 100644 --- a/talk/app/webrtc/objc/public/RTCICEServer.h +++ b/talk/app/webrtc/objc/public/RTCICEServer.h @@ -30,14 +30,15 @@ // RTCICEServer allows for the creation of ICEServer structs. @interface RTCICEServer : NSObject -// The server URI. +// The server URI, username, and password. @property(nonatomic, strong, readonly) NSURL* URI; - -// The server password. +@property(nonatomic, copy, readonly) NSString* username; @property(nonatomic, copy, readonly) NSString* password; // Initializer for RTCICEServer taking uri and password. -- (id)initWithURI:(NSString*)URI password:(NSString*)password; +- (id)initWithURI:(NSString*)URI + username:(NSString*)username + password:(NSString*)password; #ifndef DOXYGEN_SHOULD_SKIP_THIS // Disallow init and don't add to documentation -- cgit v1.2.3