WebRTC DataChannel stops receiving ?

714 views
Skip to first unread message

gs

unread,
Jan 12, 2015, 12:04:12 PM1/12/15
to discuss...@googlegroups.com
Hello,

Has anybody ever seen this happen ?
I am sending data from peer to peer using the webrtc datachannel and all of a sudden, while peer1 keeps sending without any error, peer2 stops firing the onmessage event 

I checked the state of the datachannel and it is still open but the onmessage event just will not fire any more.

what could be the problem ?

Chrome version 37

Thanks

Kaiduan Xie

unread,
Jan 12, 2015, 1:18:34 PM1/12/15
to discuss...@googlegroups.com
What is the type of data channel? SCTP or RTP?

/Kaiduan

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gs

unread,
Jan 12, 2015, 2:37:05 PM1/12/15
to discuss...@googlegroups.com
I am assuming SCTP

connection.createDataChannel('testchannel', {reliable:true});

Philipp Hancke

unread,
Jan 12, 2015, 2:42:56 PM1/12/15
to discuss...@googlegroups.com
Are you keeping an explicit reference to the channel around? See http://code.google.com/p/chromium/issues/detail?id=405545

gs

unread,
Jan 12, 2015, 3:09:10 PM1/12/15
to discuss...@googlegroups.com
that seems to be exactly my problem. I will try keeping the explicit reference and will post back the result here.

Thank you.

gs

unread,
Jan 12, 2015, 6:10:33 PM1/12/15
to discuss...@googlegroups.com
Yeap - that was the issue. Thank you again for your help.


On Monday, January 12, 2015 at 2:42:56 PM UTC-5, Philipp Hancke wrote:
Reply all
Reply to author
Forward
0 new messages