EricssonResearch / openwebrtc

A cross-platform WebRTC client framework based on GStreamer
http://www.openwebrtc.org
BSD 2-Clause "Simplified" License
1.8k stars 537 forks source link

Bowser not working properly on ipad 3, iOS 8 #79

Closed stephenlane closed 10 years ago

stephenlane commented 10 years ago

I have bowser installed on my ipad. Whenever I try to use webrtc my own camera works but other people are unable to see me and I am unable to see them.

stefanalund commented 10 years ago

Could you test with for example Firefox from your computer, connected to the same NW? Are you using http://demo.openwebrtc.io:38080 or an own app? Our app is only configured with STUN so some network topologies may not work.

stephenlane commented 10 years ago

Hi,

Thanks for the reply. I have my own server set up I downloaded and configured from here https://github.com/muaz-khan/WebRTC-Experiment/tree/master/websocket-over-nodejs

I dont think this is the appropriate server based on what you mentioned. I might be completely wrong.

Using it in firefox I can see my own webcam but I cannot see a remote peers webcam, this might be my laptop our else my server.

stephenlane commented 10 years ago

@stefanalund I have tried the demo you mentioned above on my ipad and I cant select either button.

stefanalund commented 10 years ago

Try quitting Bowser and loading the page again. There are some issues with cleanup.

stephenlane commented 10 years ago

@stefanalund getting this error in chrome when i try to call "Failed to set remote offer sdp: Called in wrong state: STATE_SENTINITIATE"

stephenlane commented 10 years ago

@stefanalund this might not be completely relevent but I dont really know where else to ask the question. I am working with webrtc stuff which uses web sockets. Is it possible to use websockets with a stun server?

stefanalund commented 10 years ago

Try with Firefox as well, there is something in the new Chrome 38 that breaks the app, we are looking in to that.

Regarding your question; websockets and STUN are used for different things in WebRTC. A WebRTC app needs two things:

  1. A signalling server that connects 2 (or more) users. Here websockets can be used to send messages between clients and the server. Our demo app uses Server Sent Events.
  2. Media that is sent p2p. STUN is used to help the browser connect to the other browser directly. This happens inside the browser and you as a developer don't have to bother about it, apart from pointing out a STUN (and/or TURN) server to be used.

I hope this helps.

stephenlane commented 10 years ago

Sorry for all the questions.

I can't seem to get the demo working from firefox or chrome. Is there any config of anything like that i am missing.

Is there any particular browser versions/ operating systems I should use.

stefanalund commented 10 years ago

No confit needed. What if you run in two tabs in Firefox? If that doesn't work something is seriously strange :-)

sdroege commented 10 years ago

To summarize the problem (with the OpenWebRTC demo app?) is that you can see yourself but others can't see you? Can you see the other side?

This might be one of the problems with libnice. Does it sometimes start to work after waiting for 1-2 minutes?

stephenlane commented 10 years ago

finally, I managed to get the demo working, uninstalled and reinstalled both firefox and bowser and it worked. Now that I know webrtc will work on my ipad I must figure out how to make what I have set up on my moodle using web rtc experiments work. Let the fun commence.

stefanalund commented 10 years ago

👍