Closed Bug 1510802 Opened 6 years ago Closed 1 year ago

Implement RTCRtpSender.setStreams()

Categories

(Core :: WebRTC, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
relnote-firefox --- 113+
firefox65 --- wontfix
firefox113 --- fixed

People

(Reporter: jib, Assigned: bwc)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(3 files)

We need to implement sender.setStreams [1] and the reciprocal firing of the track event in response to stream association changes, as the spec dictates.

[1] https://w3c.github.io/webrtc-pc/#dom-rtcrtpsender-setstreams
Rank: 18

Any update on this in terms of timeline? Would appreciate support for this.

Flags: needinfo?(jib)

I think this should be easy, as we already have a [ChromeOnly] version of this function that probably does the right thing:

https://searchfox.org/mozilla-central/rev/408eac3ccaea2d35b00706925d4d944803e19aba/dom/webidl/RTCRtpSender.webidl#26-27

Assignee: nobody → docfaraday
Flags: needinfo?(jib)

Once bug 1769802 lands, this should be easy. ni self to check back.

Flags: needinfo?(docfaraday)
Severity: normal → S3

I think I'll fix bug 1808989 here while I'm at it.

Flags: needinfo?(docfaraday)

Depends on D168415

Track ids have not meant anything in SDP for quite some time, and we aren't
even supposed to emit them. It is not valid to expect a browser to pay
any attention to them.

Depends on D168558

Depends on D168559

Try looks fine

Pushed by bcampen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b8dca8a4e260
Re-enable a bunch of wpt for setStreams. r=jib
https://hg.mozilla.org/integration/autoland/rev/19435dddb76d
Fix an invalid check in this wpt. r=jib
https://hg.mozilla.org/integration/autoland/rev/67b457f83b21
Implement RTCRtpSender.setStreams. r=jib,webidl,smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/38507 for changes under testing/web-platform/tests

Backed out for causing build bustages on PeerConnectionImpl.cpp

mochitest log: https://treeherder.mozilla.org/logviewer?job_id=405685822&repo=autoland

Flags: needinfo?(docfaraday)
Upstream PR merged by moz-wptsync-bot
Pushed by bcampen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/34e7866083ab
Re-enable a bunch of wpt for setStreams. r=jib
https://hg.mozilla.org/integration/autoland/rev/60a8f3bbd888
Fix an invalid check in this wpt. r=jib
https://hg.mozilla.org/integration/autoland/rev/b8688e4e6d58
Implement RTCRtpSender.setStreams. r=jib,webidl,smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/38529 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Pushed by bcampen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/35f29af3a1b1
Re-enable a bunch of wpt for setStreams. r=jib
https://hg.mozilla.org/integration/autoland/rev/b46f0ce13bce
Fix an invalid check in this wpt. r=jib
https://hg.mozilla.org/integration/autoland/rev/acbc27c298a8
Implement RTCRtpSender.setStreams. r=jib,webidl,smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/38983 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Flags: needinfo?(docfaraday) → in-testsuite+
No longer regressions: 1824710
Regressions: 1824735

Can you please add a relnote request on this bug?

Flags: needinfo?(docfaraday)
No longer regressions: 1824735

This has nothing to do with the browserstack problem. I think I just copied the wrong bug number here.

Still, I guess it is a new feature.

Flags: needinfo?(docfaraday)

Release Note Request (optional, but appreciated)
[Why is this notable]:
We're the last holdout on implementing this.
[Affects Firefox for Android]:
Yes.
[Suggested wording]:
Implemented support for RTCRtpSender.setStreams().
[Links (documentation, blog post, etc)]:
https://w3c.github.io/webrtc-pc/#dom-rtcrtpsender-setstreams

relnote-firefox: --- → ?

Sorry, pretend that was on bug 1531812 :)

relnote-firefox: ? → ---

Added to the Fx113 Nightly relnotes.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: