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

INVALID_STATE_ERR: DOM Exception 11 on messaging #34

Open dhassoun opened 11 years ago

dhassoun commented 11 years ago

so we have a demo project rolling. it has 2 way video chat, a a data channel for sending control messages and images (stringified and chunked up). However were seeing some nasty dom errors when a user sends a data message sometimes. Its built off the demo app code. user A can send messages fine and are recieved by user B just fine. But when user B tres to send a message (channel.send(message); we get INVALID_STATE_ERR: DOM Exception 11. Not every time just sometimes. Once error happens all message sending from that client will fail.

Any ideas?

in general weve seen the overall performance is pretty bad for data communication as well as stability. Is that to be expected?