WebRtc.NET
WebRtc.NET copied to clipboard
Datachannel is not working
I compiled solution and run locally. I can connect and get desktop streaming but data channel doesn't connect. I'ts immediately logs that "Datachannel is closed".
You need to create data channel with same label name on the other side. It's work for me.
As far as i know you should only trigger from both sides when you want to set negotiation as true. i found issue about my case. In my sdp datachannel was UDP/DTLS/SCTP i replaced with DTLS/SCTP and it worked.
As far as i know you should only trigger from both sides when you want to set negotiation as true. i found issue about my case. In my sdp datachannel was UDP/DTLS/SCTP i replaced with DTLS/SCTP and it worked.
I can confirm, the data channel does not need to be opened on both ends as long as it is not negociated. Replacing UDP/DTLS/SCTP to DTLS/SCTP in my SDP in on the signaling server solved it for me as well. Thank you.
Hi everyone, I have recently started using WebRTC and i have the same problem with DataChannel. I would need to know how to modify my SDP datachannel from UDP/DTLS/SCTP with DTLS/SCTP. Thanks a lot...
Also curious where to make this modification -- also, does this change work with unordered connections?