Re: [webrtc-extensions] Add support for negotiating datachannels in SDP (RFC8864) (#102)

the question is how to deal with a datachannel that has been rejected by the remote peer. Maybe something like:

https://www.w3.org/TR/webrtc/#error-on-creating-data-channels

1.  Let channel be the RTCDataChannel object for which the user agent could not create an underlying data transport.

2. Set channel.[[ReadyState]] to "closed".

3. Fire an event named error using the RTCErrorEvent interface with the errorDetail attribute set to "negotation-failure" at channel.

4. Fire an event named close at channel.









-- 
GitHub Notification of comment by murillo128
Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/102#issuecomment-1074138753 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 21 March 2022 16:41:21 UTC