Open xelven opened 8 years ago
We are investigating.
@alessandrod is looking in to this.
@stefanalund thanks, and may this is one of issues: https://phabricator.freedesktop.org/T7336
updated status here: https://phabricator.freedesktop.org/D786#15517
@alessandrod maybe you can comment since I know you have some info about this?
I'm looking into TURN bugs. I don't think it's useful to have a meta-bug for TURN so i'm going to report the issues individually.
@alessandrod thanks for u man, and let me share what I know now. we was contact the developer of libnice, seems there have an bugs in STUN/TRUN in libnice 0.1.13 such as
libnice recently which fix bugs like these (connection problems with peer reflexive and TURN candidates), so you might want to try libnice master in a few weeks' time once all the changes have landed.
and at the same time, I build my own version libnice base on version: 1732c7d6a7a104438412309373818e493a2504c9) , and I am looking the RFC 3489, 5389, 5766 and 5245 now, also got few question now. such as the each Priority didnt follow the RFC yet.
I think I fixed my problem between 4G n Wifi the TURN relay issue, definitely is libnice problem, and I don't have time to wait, so I modified a lot for this in libnice. I still test on this but until now 100% connection and seems pretty fast now😉
@xelven can you share your patched libnice?
I'm happy to build and test that cause I'm also looking at some issues with TURN on iOS.
@xelven nice work! I assume you're looking into upstreaming this to the libnice project?
after tested few days, my audio call got 100%, but unfortunately the video call base on 2 stream though NAT got problem in my version. I got take look into it. @urbaniak I used latest version of libnice it kind difference between 0.1.13. @stefhak yep, if I think I still need to take looking for while.
We've recently landed changes that improve TURN support. See https://github.com/EricssonResearch/cerbero/pull/51. It would be great if you could try rebuilding libnice with cerbero master.
With those changes and my own TURN server I get 100% audio/video working with Firefox and NativeDemo. There are still issues with public TURN servers which usually have very restrictive quotas (1-2 sessions max). When TURN requests fail because of quota limits, libnice (and so openwebrtc) fail silently and stuff just appears broken.
Hi, didn't update for a while, got really busy. let me update my latest status, I also using my own TURN server and there are no qoutas limit. For my video problem please take look this:https://github.com/EricssonResearch/openwebrtc-ios-sdk/issues/67 and Yes I fixed that.
I modify the latest ver of libnice are work for me, I won't used 0.1.13 cause it've other issues such as peer reflex, etc.
I was take look @alessandrod your patch for the Allocation Mismatch responses and allow REALM to be empty seems it didn't my case. my turn server's REALM name is not empty and didn't get error code 437 allocation mismatch. But still thanks for that complete the libnice.
Dear Alessandrod,
Thank you very much for your TURN patches. I have tried, and i still encounter the issue that i have reported before (https://github.com/EricssonResearch/bowser/issues/79).
My scenario has 2 endpoints, Bowser in iPad Pro and Win7 Chrome via TURN.
Case A: 1) Bowser join 2) Chrome join 3) Bowser call
Bowser can receive Chrome's video and audio through TURN. After a while, Chrome's video is frozen for sometimes, then move again, then frozen again, ....
Case B: 1) Bowser join 2) Chrome join 3) Chrome call
Bowser cannot receive any audio and video from Chrome, seems the TURN connection cannot be made successfully.
The libnice version is 0.1.13. I have enabled the environmental variable G_MESSAGE_DEBUG and NICE_DEBUG in xcode 7.3. However, i cannot find any useful hints.
I have also investigated the TURN server (Google coturn) runtime console log. However, i cannot find useful hints too.
May i ask what i can do in order to find out more useful information about the problems and resolve the issues?
Thank you very much.
PP
I have 1 more finding.
During the video is frozen, I can still hear the remote audio in Bowser clearly (as reported in issue #79 before). Besides, I use a network monitoring appl on iPad Pro to monitor the data outflow/inflow during the video is frozen. To my surprise, there is data inflow during the video is frozen (in a testing with ONLY video enabled and audio disabled) receiving at a similar speed during which the video is working normally.
Hope this information is useful for your consideration.
Thank you very much.
After more investigation, i find that the one-way video issue on iPad Pro should be the same/similar issue as reported in https://github.com/EricssonResearch/openwebrtc/issues/299.
May i seek for your advice/help on fixing the issue?
Many thanks
One basic question, since I try to figure out what's my problem, ref: https://github.com/EricssonResearch/openwebrtc-ios-sdk/issues/59
but I found after I print all of the data from remote NICE candidate, there is NOT any TURN info,
then I take look the code in owr_transport_agent.c and owr_candidate.c
there is don't need to set any TURN server info set?