Hi all,
mediasoup v3 includes now DataChannel support via the new DataProducer
and DataConsumer
handlers in both mediasoup and mediasoup-client and the new methods transport.produceData()
and transport.consumeData()
.
- mediasoup implements WebRTC DataChannels, this is: SCTP streams on top of DTLS on top of UDP/TCP.
- mediasoup also implements pure SCTP protocol on top of plain UDP (for
PlainRtpTransport
andPipeTransport
). This makes it possible to interact with SCTP messages (in and out) in server side.
Test it online at https://v3demo.mediasoup.org.
Related commits and merges
Others
- The documentation has been updated.
- DataChannel is available in mediasoup and mediasoup-client 3.2.0 NPM versions.