Bug 273318
Summary: | [WebRTC][GStreamer] Missing media in SDP if setConfiguration() is called after createDataChannel() or addTransceiver() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Bentzen <cadubentzen> |
Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | philn, webkit-bug-importer, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Carlos Bentzen
In the script below:
const pc = new RTCPeerConnection();
pc.createDataChannel("data-channel")
pc.setConfiguration({});
await pc.setLocalDescription();
const sdp = pc.localDescription.sdp;
sdp should contain a line like "m=application 9 UDP/DTLS/SCTP webrtc-datachannel", but with the GstWebRTC backend that's not true. The line is back in the SDP if pc.setConfiguration({}) is removed.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Bentzen
(patch incoming soon)
Carlos Bentzen
Pull request: https://github.com/WebKit/WebKit/pull/27802
EWS
Committed 278099@main (1bc81c31ff6c): <https://commits.webkit.org/278099@main>
Reviewed commits have been landed. Closing PR #27802 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/127220767>