RTCPeerConnection.addTrack should not require a stream to be passed
Categories
(Core :: WebRTC, defect, P2)
Tracking
()
People
(Reporter: bzbarsky, Assigned: bwc)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [spec])
Attachments
(2 files)
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Comment 1•7 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
This is turning into a major headache with web-platform-tests, requiring lots of tests (that aren't really testing addTrack) to be disabled.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D19841
Assignee | ||
Comment 6•6 years ago
|
||
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/918f7a08c59b
https://hg.mozilla.org/mozilla-central/rev/6be475d0d9b8
Comment 11•6 years ago
|
||
Documentation updated:
I've made substantial revisions to the article on addTrack() to cover this and to explain in more detail the relationship between the tracks and streams across a peer connection. This would definitely benefit from a review:
https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack
I've also made affiliated revisions to the following articles. Some are error corrections, some are clarifications, and there are a few additions of missing details:
https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addStream
https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/MediaStream
https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent
Since this is a bug fix, I don't think it warrants a BCD update. If there's disagreement, it could be added as a note -- I'm not sure adding a "feature" row for this makes sense given that it's a bug fix.
Added to Firefox 67 for developers.
Updated•5 years ago
|
Description
•