Shourob Datta
Shourob Datta

Reputation: 2092

Apprtc not working in public network iOS

I am using Apprtc library for the real-time connection. this is my server host URL @"https://appr.tc". Connection successfully established to any network, but in the audio/video sense

do you have any idea ?

Upvotes: 0

Views: 525

Answers (1)

Saeed Jahed
Saeed Jahed

Reputation: 851

TL;DR You need to bring up a TURN server, and configure the client with the addresses of your TURN server.


WebRTC attempts to connect two peers directly, but that's not always possible in all network configurations (e.g. when both sides are behind a NAT or a Firewall). In these cases, WebRTC will fallback to using a TURN server. It's basically a server that both peers can connect to, and it forwards packets from one to the other.

Upvotes: 0

Related Questions