EricssonResearch / bowser

A WebRTC browser for iOS developed in the open
BSD 2-Clause "Simplified" License
208 stars 65 forks source link

One way video when using TURN #79

Open pongponglau opened 8 years ago

pongponglau commented 8 years ago

I can run bowser in iPad Pro. When i run the demo.openwebrtc.org inside the LAN (i.e. bowser on iPad Pro and Chrome browser on Win 7, so STUN case), the performance is very nice. Great job. Thanks a lot.

When i run the same test on WAN (i.e. bowser on iPad Pro at my home and Chrome browser on Win 7 at my friend home, so TURN case), the rtc connection via ICE can be made successfully quickly. However, my friend camera is frozen after a few seconds on bowser. However, my friend can see my camera very smoothly at his side all the times.

Besides, i have developed another webrtc script. I can run it perfectly on desktop browsers. When i run ut in bowser on iPad Pro, i get one-way video issue even in LAN environment (i.e. STUN case). Chrome browser on Win 7 can see my bowser's camera smoothly and clearly after joining the room. However, bowser cannot see the Win7 camera at all.

May i ask what i can check to fix this issue? Do you encounter similar problem?

Thank you very much for your help and advice.

stefanalund commented 8 years ago

Others have reported issues with TURN and we are looking in to it. Will keep you posted, thanks.

stefanalund commented 8 years ago

Nice to hear that Bowser runs well on the iPad Pro btw, we haven't tried it ourselves :smiley:

pongponglau commented 8 years ago

Thanks Stefanalund.

I have 1 more finding about the frozen camera video with TURN. After the remote camera is shown smoothly for a few seconds, the camera is frozen. However, i can still hear the remote sound clearly.

Besides, i also encounter the same issue of datachannel which is mentioned in https://github.com/EricssonResearch/bowser/issues/53.

Nonetheless, i love Bowser in iPad Pro very much.

Thanks again.

IngJohEricsson commented 8 years ago

Question. Is SCReAM enabled?. There has earlier been some issues with RTCP feedback in one direction that caused SCReAM to malfuntion Ingemar

Skickat från min iPhone

7 mars 2016 kl. 04:38 skrev pongponglau notifications@github.com<mailto:notifications@github.com>:

Thanks Stefanalund.

I have 1 more finding about the frozen camera video with TURN. After the remote camera is shown smoothly for a few seconds, the camera is frozen. However, i can still hear the remote sound clearly.

Besides, i also encounter the same issue of datachannel which is mentioned in #53https://github.com/EricssonResearch/bowser/issues/53.

Nonetheless, i love Bowser in iPad Pro very much.

Thanks again.

— Reply to this email directly or view it on GitHubhttps://github.com/EricssonResearch/bowser/issues/79#issuecomment-193076449.

stefanalund commented 8 years ago

If you run Bowser <-> Bowser SCReAM should be enabled.

pongponglau commented 8 years ago

I use bowser on ipad while my friend users Chrome on win7. So this is neither bowser<->bowser nor bowser<->owr client. In this case, does SCReAM work?

My friend can always see my camera smoothly but my friend's camera showing in bowser is frozen most of the time (it runs smoothly in the first few seconds, then it is frozen and after quite a long time, it may run for a few seconds before it goes frozen again).

If i run the openwebrtc demo page in Chrome on my Win7 notebook with my friend under the same network setup, both cameras run very smoothly on both sides.

Thanks a lot for your help.

pongponglau commented 8 years ago

For your information again, audio has no such problem, and i can hear my friend's sound in bowser clearly during his camera is frozen.

pongponglau commented 8 years ago

Thanks a lot

stefanalund commented 8 years ago

@alessandrod is looking in to this.

pongponglau commented 8 years ago

Thank you Stefanalund and alessandrod. Wish this problem can be fixed soon.

alessandrod commented 8 years ago

We're going to track TURN failures here https://github.com/EricssonResearch/openwebrtc/issues/575

pongponglau commented 8 years ago

Thank you for your information and great support.