webRTC-io / webRTC.io

An abstraction layer for webRTC. Aim is to simplify the HTML5 web standard webRTC in a similar manner to socket.io w/ websockets. Highly experimental technology
1.6k stars 293 forks source link

webRTC.io does not work when there media has been defaultly enabled #5

Open benbrittain opened 11 years ago

dennismartensson commented 11 years ago

I am thinking that this can be a bug in Chromes webRTC implementation because the onSucces call is never called. So I have started a decusion on this over att the google groupe https://groups.google.com/forum/#!topic/discuss-webrtc/scxWsUA8aME%5B1-25%5D

liyanchang commented 10 years ago

Hi there. Given that this issue was opened over a year ago, it's unlikely that my problem is the same as your problem, but here goes anyways.

I had a problem where my https site would never send_offers while my http version would. It turns out that when you use https, chrome will auto enable (if you've enabled before), and thus the 'ready' event (which sends offers) would be triggered before the 'get_peers' event (which gets the sockets to send offers to).

This was fixed 8 months ago: https://github.com/webRTC/webrtc.io-client/commit/af8bb421feba499d29843bab360ed2869093a9e0

But the submoduled client code is not up to date nor is the demo code, which I had pulled from (stupidly. mea culpa).

To prevent other people from getting the non-patched version that fixes this problem, I would recommend pulling #32 and then closing this issue.

rahuldabhi commented 10 years ago

Hello dennismartensson

How to mute our audio for all connected users using this library

Help me....

You may direct reply to my gmail account rahul.samcomtech@gmail.com