Questions tagged [rtcdatachannel]

88 questions
3
votes
2 answers

Send and receive objects through WebRTC data channel

In my project, I am using WebRTC to connect between 2 client using the aiortc package. I am using this example code and it works, but it seems I can't send non-string data in the data channel. This is what I send in the data channel (modified the…
SagiZiv
  • 932
  • 1
  • 16
  • 38
3
votes
1 answer

WebRTC Datachannel for high bandwidth application

I want to send unidirectional streaming data over a WebRTC datachannel, and is looking of the best configuration options (high BW, low latency/jitter) and others' experience with expected bitrates in this kind of application. My test program sends…
jensk
  • 414
  • 5
  • 13
3
votes
1 answer

usrsctp send buffer does not free itself

We're working with a C++ webrtc data channels library and in our test application, upon sending a few small packets that would totally amount to about 256kB, the usrsctp_sendv() call returns -1 (with errno as EWOULDBLOCK/EAGAIN which means "Resource…
Irfan
  • 1,758
  • 3
  • 24
  • 32
3
votes
0 answers

Is RTCDataChannel when configuration reliable = true faster then Websockets?

I was reading and trying to find out about WebRTC's RTCDataChannel. As I understand Websockets are on top of TCP and have higher latency than SCTP that underlies WebRTC, when for example sending binary data between server and browser, that also…
David
  • 93
  • 10
3
votes
1 answer

how to close a webrtc datachannel?

I can not use the following methods. Because i use only datachannel (not use getUserMedia)