Open Bug 1571470 Opened 6 years ago Updated 10 hours ago

Support webrtc-svc (scalabilityMode)

Categories

(Core :: WebRTC: Signaling, enhancement, P2)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: bwc, Assigned: ng)

References

(Depends on 2 open bugs, Blocks 6 open bugs, )

Details

Attachments

(35 files, 14 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

We should disable the webrtc-svc wpt until we support this stuff too.

Marking this a P2 for now. @Byron, please change if you disagree.

Priority: -- → P2
Severity: normal → S3
Severity: S3 → N/A
Priority: P2 → P3

The main API to implement here is the scalabilityMode encoding parameter.

Summary: Support webrtc-svc → Support webrtc-svc (scalabilityMode)
Priority: P3 → P2

MediaEncodingType in Firefox uses the non-standard "transmission" enum variant instead of "webrtc".
https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilities/encodingInfo#webrtc

But we don't ever use values of this type so it should be safe to add a spec conforming variant.
https://searchfox.org/mozilla-central/search?q=symbol:E_%3CT_mozilla%3A%3Adom%3A%3AMediaEncodingType%3E_Transmission&redirect=false

This bug is not the correct place to resolve removing the old "transmission" variant.

No longer blocks: 1633876
Depends on: 1936052
Assignee: nobody → ngrunbaum
Status: NEW → ASSIGNED
Depends on: 1947115
Depends on: 1947116
Priority: P2 → P3
Priority: P3 → P2
See Also: → 1956015
Depends on: 1894137
No longer depends on: 1825286
Severity: N/A → S3
Attachment #9439872 - Attachment description: WIP: Bug 1571470 - add scalabiltyMode to RTCRtpEncodingParameters;r?pehrsons → Bug 1571470 - add scalabiltyMode to RTCRtpEncodingParameters;r?dbaker
Attachment #9439873 - Attachment description: WIP: Bug 1571470 - add pref to enable svc mode for WebRTC;r?pehrsons → Bug 1571470 - add pref to enable svc mode for WebRTC;r?dbaker
Attachment #9439874 - Attachment description: WIP: Bug 1571470 - webrtc-svc vp9 wpt tests expect PASS;r?pehrsons → Bug 1571470 - webrtc-svc vp9 wpt tests expect PASS;r?dbaker
Depends on: 1991775
Attachment #9439876 - Attachment description: WIP: Bug 1571470 - expand setParameters mochitests with scalabilityMode;r?pehrsons → Bug 1571470 - expand setParameters mochitests with scalabilityMode;r?bwc
Attachment #9439877 - Attachment description: WIP: Bug 1571470 - WIP (no validation) - wire up scalabilityMode to libwebrtc;r?pehrsons → Bug 1571470 - add SVC mode fallback;r?dbaker
Attachment #9439875 - Attachment is obsolete: true
Attachment #9440128 - Attachment is obsolete: true
Attachment #9525130 - Attachment is obsolete: true
Attachment #9523671 - Attachment description: WIP: Bug 1571470 - WIP- add wpt to check that SVC is used when requested;r=jib → Bug 1571470 - add wpt to check that SVC is used when requested;r=jib
Attachment #9525130 - Attachment is obsolete: false
Attachment #9525144 - Attachment is obsolete: true
Attachment #9525132 - Attachment description: Bug 1571470 - check attr presence before accessing;r?bwc → Bug 1571470 - add dd header extension for senders;r?bwc
Attachment #9523671 - Attachment description: Bug 1571470 - add wpt to check that SVC is used when requested;r=jib → Bug 1571470 - add wpt helper to check that SVC is used when requested;r=jib,pehrsons
Attachment #9525187 - Attachment description: Bug 1571470 - add SVC setParameters failures;r?dbaker → Bug 1571470 - add SVC setParameters failures;r=dbaker,bwc
Attachment #9526337 - Attachment description: WIP: Bug 1571470 - mochitest to verify glean probes;r=dbaker,bwc → Bug 1571470 - mochitest to verify glean probes;r=dbaker,bwc
Blocks: 2000351
Blocks: 2000407
Blocks: 2000693

Note these tests are expected to fail until we support h265. They fail to
find the h265 codec early on, so the tests exit before going into the loop
waiting for results. This makes the failures nearly instant.

Blocks: 2001249
Attachment #9525132 - Attachment description: Bug 1571470 - add dd header extension for senders;r?bwc → Bug 1571470 - add dd header extension;r?bwc
Attachment #9527626 - Attachment description: Bug 1571470 - update A/V extmap verification mochitest with dd;r=dbaker → Bug 1571470 - update A/V extmap verification mochitests with dd;r=dbaker
Attachment #9439877 - Attachment is obsolete: true
Attachment #9439874 - Attachment is obsolete: true
Blocks: 2001872

This is used by ScalabilityInfo but could probably be used elsewhere.
It has been moved into its own header as per-the rules layed out in
the style guide:

https://firefox-source-docs.mozilla.org/code-quality/coding-style/coding_style_cpp.html#header-files

Attachment #9525130 - Attachment description: Bug 1571470 - add common ScalabilityInfo;r?dbaker → Bug 1571470 - add common ScalabilityInfo;r?dbaker,pehrsons

The process of ensuring we have an extmap list before access is fraught.
This adds a version that creates a list if and only if one doesn't exist.

Attachment #9525132 - Attachment description: Bug 1571470 - add dd header extension;r?bwc → Bug 1571470 - add dd header extension;r=bwc,pehrsons

This is used by ScalabilityInfo but could probably be used elsewhere.
It has been moved into its own header as per-the rules layed out in
the style guide:

https://firefox-source-docs.mozilla.org/code-quality/coding-style/coding_style_cpp.html#header-files

Attachment #9533545 - Attachment is obsolete: true
Attachment #9497931 - Attachment is obsolete: true
Attachment #9497930 - Attachment description: Bug 1571470 - update RTCRtpParameters-scalability-h264 expectations to PASS;r?dbaker → Bug 1571470 - update RTCRtpParameters-scalability-h264 expectations;r?dbaker
Attachment #9497934 - Attachment description: Bug 1571470 - fill in scalabilityMode stat in RTPSender;r?dbaker → Bug 1571470 - fill in scalabilityMode stat in RTPSender, and WPT;r=dbaker,pehrsons
Attachment #9497935 - Attachment description: Bug 1571470 - set scalabilityMode stat WPT expectation to PASS;r?dbaker → Bug 1571470 - set scalabilityMode stat WPT expectation;r?dbaker
Attachment #9534165 - Attachment is obsolete: true
Attachment #9526947 - Attachment is obsolete: true
Attachment #9533548 - Attachment is obsolete: true
Attachment #9527901 - Attachment is obsolete: true
Attachment #9533546 - Attachment is obsolete: true
Attachment #9533547 - Attachment is obsolete: true
Attachment #9527626 - Attachment is obsolete: true

Any reason so many patches are accepted but not merged? Is the plan to merge them all together?

(In reply to [:anutrix] from comment #52)

Any reason so many patches are accepted but not merged? Is the plan to merge them all together?

Yes -- consider it a huge patch broken down into small pieces.

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

Attachment

General

Created:
Updated:
Size: