rawrtc-data-channel icon indicating copy to clipboard operation
rawrtc-data-channel copied to clipboard

Early creation of in-band negotiated data channels

Open lgrahl opened this issue 6 years ago • 1 comments

Creating data channels is not allowed before the DTLS transport is connected to be able to determine a stream id (which uses even/odd rule depending on the DTLS role). Being able to create data channels earlier would be nice.

Once resolved, update examples in RAWRTC. Related: https://github.com/rawrtc/rawrtc/issues/57

lgrahl avatar Mar 10 '18 01:03 lgrahl

FWIW, once https://github.com/w3c/webrtc-pc/issues/1818 has been accepted (assign the id once the SCTP association has been established), we should also wait for the SCTP association instead of blindly creating channels as soon as the DTLS role is known.

lgrahl avatar Mar 28 '18 11:03 lgrahl