VP9 encoder natively supports simulcast under certain conditions
Categories
(Core :: WebRTC: Audio/Video, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | unaffected |
firefox133 | --- | unaffected |
firefox134 | --- | verified |
firefox135 | --- | verified |
People
(Reporter: pehrsons, Assigned: pehrsons)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
We have so far not supported VP9 simulcast. In 134, we shipped a libwebrtc update containing a native simulcast in the libwebrtc libvpx VP9 encoder. This gets used even without the SimulcastEncoderAdapter that we normally use to control simulcast. The native mode uses SVC under the hood for more efficient encoding of multiple streams, so only works when the simulcast config can be translated to a vaild svc config by the codec.
Until we ship VP9 simulcast, we should disable this new native simulcast mode.
Assignee | ||
Comment 1•2 months ago
|
||
Assignee | ||
Comment 2•2 months ago
|
||
In https://hg.mozilla.org/mozilla-central/rev/1c2fb06af8ed666efc145146927c83126eef1f17
a new mode was introduced in libwebrtc's libvpx VP9 encoder, that allows it to
encode simulcast layers natively under some conditions. The new pref lets us
turn that mode off to not inadvertently ship partial VP9 simulcast support.
Assignee | ||
Comment 4•2 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D231231
Updated•2 months ago
|
Assignee | ||
Comment 5•2 months ago
|
||
In https://hg.mozilla.org/mozilla-central/rev/1c2fb06af8ed666efc145146927c83126eef1f17
a new mode was introduced in libwebrtc's libvpx VP9 encoder, that allows it to
encode simulcast layers natively under some conditions. The new pref lets us
turn that mode off to not inadvertently ship partial VP9 simulcast support.
Original Revision: https://phabricator.services.mozilla.com/D231232
Updated•2 months ago
|
https://hg.mozilla.org/mozilla-central/rev/2745456250d5
https://hg.mozilla.org/mozilla-central/rev/07d2451f3780
Comment 7•2 months ago
|
||
beta Uplift Approval Request
- User impact if declined: 134 will inadvertently ship with partial simulcast support for VP9 in WebRTC
- Code covered by automated testing: no
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: On https://fippo.github.io/simulcast-playground/rid-as-mid?codec=vp9 after approving the camera prompt, two videos should be visible. One local, one remote. Verify with
media.webrtc.simulcast.vp9.enabled=true
where no remote video is visible (simulcast is on, but broken). - Risk associated with taking this patch: Low
- Explanation of risk level: Maintaining old behavior by turning a feature off that landed upstream in libwebrtc.
- String changes made/needed: None
- Is Android affected?: yes
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Comment 9•2 months ago
|
||
Reproduced this issue on Win 10 using an affected nightly build from 2024-11-29 and following the steps from Comment 7.
Verified as fixed on Firefox 135.0a1 (20241209213901) and Firefox 134.0b8 (20241209091406) on WIn 10, macOS 11 and Ubuntu 22.04.
Description
•