Datachannels in C# client #1330
-
We are currently making an sample for our customers using c# for the client part. We have no issues with the video/audio, but we cannot get a datachannel created.
I tried to change this to add the datachannel to pending instead and that works. I tried both |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You might not be waiting for the data channel to open. It takes a small bit of time after the WebRTC connection is stasblished until the SCTP connection for the data channel can be negotiated. Here is the most recent example I have of handling it. |
Beta Was this translation helpful? Give feedback.
-
I have updated the sample to try and create the datachannel if it is null when I access it in our sample and that works. I was just not patient enough. |
Beta Was this translation helpful? Give feedback.
You might not be waiting for the data channel to open. It takes a small bit of time after the WebRTC connection is stasblished until the SCTP connection for the data channel can be negotiated. Here is the most recent example I have of handling it.