lukeweber / webrtc-jingle-client

Webrtc audio + jingle protocol brought to IOS and Android.
https://groups.google.com/forum/?fromgroups#!forum/webrtc-jingle
BSD 3-Clause "New" or "Revised" License
334 stars 137 forks source link

Webrtc no audio when devices are in two different networks #107

Open isaac913 opened 10 years ago

isaac913 commented 10 years ago

We build an ios application basic on webrtc and xmppFramework. When we are testing it with devices on the same network, both webrtc and xmpp works. However, when we tested it with devices on two different network, only xmpp works. Webrtc was trying to connect but fail after a while. We have a STUN server but no TURN server yet. Could it be a problem because we do not have a TURN server?

chathudan commented 10 years ago

Install turn server and try. It will work.

lukeweber commented 10 years ago

Usually installing a turn server will deal with more of these issues. However, the library only supports udp relay for the peer, but in an ideal future circumstance, it would support tcp and dtls, which would make it able to bypass most network blocks.

On Mon, Sep 9, 2013 at 12:21 PM, Chathura Wijesinghe < notifications@github.com> wrote:

Install turn server and try. It will work.

— Reply to this email directly or view it on GitHubhttps://github.com/lukeweber/webrtc-jingle-client/issues/107#issuecomment-24106983 .