- From: Philipp Hancke via GitHub <noreply@w3.org>
- Date: Wed, 17 Sep 2025 07:47:03 +0000
- To: public-webrtc@w3.org
fippo has just submitted a new pull request for https://github.com/w3c/webrtc-extensions:
== Always negotiate datachannels ==
extending JSEP rules to negotiate datachannels before createDataChannel and negotiate them as the first m-line in the SDP.
```
const pc = new RTCPeerConnection({alwaysNegotiateDataChannels: true});
pc.addTransceiver('audio');
await offer = pc.createOffer();
// assert that the first m= line is m=application
```
JSEP issue: https://github.com/rtcweb-wg/jsep/issues/1039
Fixes #241
See https://github.com/w3c/webrtc-extensions/pull/242
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 17 September 2025 07:47:04 UTC