Hi All,
After playing with the data channels quite a bit, I have a few remarks/issues:
1. The biggest string I could send over the datachannel varied between 900bytes to 1300bytes.
2. I couldn't send a few messages one after the other over dc:
I even tried sending message from peer1 to peer2 ,
then peer2 sent an 'ack' back to peer1,
and right after receiving the 'ack' from peer2, peer1 couldn't send messages (only after a ~300ms timeout).
Obviously those 2 points limit the transfer rate severely.
3. Another interesting issue, is that peer1 can get a dc.readyState = open, send a message to peer2, and peer2 actually receives the message before his dc.readyState changes to open.
(and can't actually send back a message on that dc untill the state changes to open).
would love any feedback,
Shachar