webrtc - Apprtcdemo ios app: Assertion failure in -[RTCICEServer initWithURI:username:password:] -


i used project i.e. https://github.com/gandg/webrtc-ios. compiles fine.but after entering room no: iam getting following error.how rectify error?

2014-03-10 15:58:01.421 apprtcdemo[4159:907] *** assertion failure in -[rtciceserver initwithuri:username:password:], ../../../talk/app/webrtc/objc/rtciceserver.mm:40 2014-03-10 15:58:01.438 apprtcdemo[4159:907] *** terminating app due uncaught exception 'nsinternalinconsistencyexception', reason: 'nil arguments not allowed' *** first throw call stack: (0x31dfe2a3 0x39a5897f 0x31dfe15d 0x326d3ab7 0x17e07b 0x1b717 0x327396fd 0x326791f9 0x32679115 0x31adb45f 0x31adab43 0x31b02fcb 0x31d4474d 0x31b0342b 0x31a6703d 0x31dd3683 0x31dd2ee9 0x31dd1cb7 0x31d44ebd 0x31d44d49 0x358c12eb 0x33c5a301 0x12a61 0x39e8fb20) libc++abi.dylib: terminate called throwing exception 

help highly appreciable

thanks in advance

finally found reason, uri nil when trying create rtciceserver instance. fix navigate apprtcappclient.m file

    - (void)connectiondidfinishloading:(nsurlconnection *)connection method 

just before end of function should find enumerator looping through servers
inside loop update following line

    nsstring *url = [server objectforkey:@"url"]; 

to this

    nsstring *url = [server objectforkey:@"urls"]; 

this should work!


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -