Closed Bug 1898588 Opened 1 month ago Closed 1 month ago

Support checking scheme per capability

Categories

(Core :: Audio/Video: Playback, task, P1)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Chromium and Webkit both support encryptionScheme already.

This feature is disabled by default and we're not fully implemented it as well. We should do that as well in order to implement checking scheme per capability.

Firefox is the only one failing on those wpt.

Currently our implementation is the scheme support per key system,
not per content type. As each content type can have different supported
scheme, we can't determine a precise result per content type.

eg. type A only supports cenc, but type B only supports cbcs.

Depends on D211643

I'm going to file another bug to flip the preference.

Summary: Enable `encryptionScheme` on MediaKeySystemMediaCapability and support checking scheme per capability → Support checking scheme per capability
Blocks: 1899182
Attachment #9403931 - Attachment description: WIP: Bug 1898588 - part1 : add encryptionSchemes in MFCDMMediaCapability in order to support scheme per type → Bug 1898588 - part1 : add encryptionSchemes in MFCDMMediaCapability in order to support scheme per type
Attachment #9403932 - Attachment description: WIP: Bug 1898588 - part2 : remove duplicated method 'EncryptionSchemeStr'. → Bug 1898588 - part2 : remove duplicated method 'EncryptionSchemeStr'.
Attachment #9403933 - Attachment description: WIP: Bug 1898588 - part3 : add encryption scheme 'cbcs-1-9'. → Bug 1898588 - part3 : add encryption scheme 'cbcs-1-9'.
Attachment #9403934 - Attachment description: WIP: Bug 1898588 - part4 : check scheme per codec if encryptionScheme in MediaKeySystemMediaCapability exists. → Bug 1898588 - part4 : check scheme per codec if encryptionScheme in MediaKeySystemMediaCapability exists.
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/940fca861f93
part1 : add encryptionSchemes in MFCDMMediaCapability in order to support scheme per type r=jolin
https://hg.mozilla.org/integration/autoland/rev/2643cfcd1ba7
part2 : remove duplicated method 'EncryptionSchemeStr'. r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/62c4a3361e00
part3 : add encryption scheme 'cbcs-1-9'. r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/dd7a777b034f
part4 : check scheme per codec if encryptionScheme in MediaKeySystemMediaCapability exists. r=jolin
https://hg.mozilla.org/integration/autoland/rev/d23ba62a5165
part5 : remove encryption scheme per key system. r=jolin
Flags: needinfo?(alwu)
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1ed59369bf4a
part1 : add encryptionSchemes in MFCDMMediaCapability in order to support scheme per type r=jolin
https://hg.mozilla.org/integration/autoland/rev/e7a3702a2c8d
part2 : remove duplicated method 'EncryptionSchemeStr'. r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/16a7d63e8efe
part3 : add encryption scheme 'cbcs-1-9'. r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/71178e92209a
part4 : check scheme per codec if encryptionScheme in MediaKeySystemMediaCapability exists. r=jolin
https://hg.mozilla.org/integration/autoland/rev/4749767d42a9
part5 : remove encryption scheme per key system. r=jolin
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: