iOS, AppRTCDemo: Fixes exception due to JSON for ice using "urls" instead of "url", which is introduced by r5599.
BUG=2962 TEST= R=fischman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/9109005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5610 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
90173e188f
commit
eaadecaf98
@ -309,7 +309,7 @@
|
||||
NSArray *servers = [json objectForKey:@"iceServers"];
|
||||
NSMutableArray *ICEServers = [NSMutableArray array];
|
||||
for (NSDictionary *server in servers) {
|
||||
NSString *url = [server objectForKey:@"url"];
|
||||
NSString *url = [server objectForKey:@"urls"];
|
||||
NSString *username = json[@"username"];
|
||||
NSString *credential = [server objectForKey:@"credential"];
|
||||
if (!username) {
|
||||
|
Loading…
Reference in New Issue
Block a user