ISBX / apprtc-ios

A native iOS video chat app based on WebRTC
BSD 3-Clause "New" or "Revised" License
1.34k stars 411 forks source link

How can I use TURN servers? #38

Open GaelHLago opened 8 years ago

GaelHLago commented 8 years ago

Hi,

I'm trying to use my TURN servers, i thought replacing defaultSTUN or add TURN servers into _iceServers would make it, but it seems not.

I guess i have to create a peerConnection with RTCConfiguration, but i don't know how to create RTCConfiguration. By passing a NSArray maybe ? RTCConfiguration *config = IceServersNSArray [_peerConnection setConfiguration:config] ? (this doesn't work for me, but it must be something like that).

Thanks for any help :D

silkroadnomad commented 7 years ago

Did you find a solution to your problem? I have a similar issue! It should work but it doesn't seems to be an IPv6 Bug! But I am not sure.! Read here:

https://bugs.chromium.org/p/webrtc/issues/detail?id=5871