You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Chrome the datachannel with label "data" is closed, ondatachannel fires once with "data2"
In Firefox ondatachannel fires with both "data" and "data2" datachannels.
I tend to think that any dcs that were created ahead of the rejected dc offer should be killed, otherwise you have no way of knowing that the dcs were rejected. So Chrome's behavior seems better to me.
Yes, I think subsequent offers should be able to try again (why not?)
Yes, second DC creation should trigger ONN.
A corollary which might be worth pointing out: closing all local data channels should not reject a negotiated application m-line. That doesn't save you much anyway.
We have a minor web compat problem with the handling of rejected datachannel SDP.
This fiddle demonstrates it:
https://jsfiddle.net/fippo/ra7t85ez/1/
In Chrome the datachannel with label "data" is closed, ondatachannel fires once with "data2"
In Firefox ondatachannel fires with both "data" and "data2" datachannels.
Which one is correct? https://www.rfc-editor.org/rfc/rfc8829.html#name-applying-an-answer does not cover the case of a rejected m= line (the fiddle actually rejects in the offer with some SDP munging but that is superficial I think)
Further:
The text was updated successfully, but these errors were encountered: