EricssonResearch / openwebrtc-ios-sdk

SDK for adding OpenWebRTC to your iOS apps using CocoaPods
BSD 2-Clause "Simplified" License
69 stars 37 forks source link

Different Network is not working in IOS & Android using openWebRTC #80

Open mercuryboy opened 7 years ago

mercuryboy commented 7 years ago

Hi Friends ,

Kindly save my time. Am working ios openwebrtc but its not working in different network. I got the below error.

0:00:29.261480000  2864 0x103b17660 ERROR   owrsession owr_session.c:765:_owr_session_emit_ice_state_changed:OwrMediaSession@0x1051f4d00 Session 1, ICE failed to establish a connection! ICE state changed from connecting to failed.

If anybody face this problem update me..

Thanks Krishna

shayanjalil commented 7 years ago

Hello, Sorry for the late response. Can you share your stun and turn server configurations?

mercuryboy commented 7 years ago

Hi,

Am using this server confiuratio

[nativeHandler addSTUNServerWithAddress:@"mmt-stun.verkstad.net" port:3478];
[nativeHandler addTURNServerWithAddress:@"mmt-turn.verkstad.net"
                                   port:443
                               username:@"webrtc"
                               password:@"secret"
                                  isTCP:NO];