Closed Bug 1868482 Opened 7 months ago Closed 3 months ago

[wmfme] reuse cached capabilities in the MFCDM process

Categories

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

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

No description provided.

Querying capabilities can be time consuming, because that is depend on
the implementation of external library. If we already query the
capabilities for the same key system before, we should reuse the result.

We should always keep cached capabilities in the MFCDM process so that
we won't need to regenerate capabilities when asking that from different
content processes.

Depends on D205392

Attachment #9367180 - Attachment is obsolete: true
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9eebfe985d87
part1 : add 'isHardwareDecryption' on MFCDMCapabilitiesIPDL. r=jolin
https://hg.mozilla.org/integration/autoland/rev/44f7868b7c85
part2 : cached capabilities in the MFCDM process. r=jolin
https://hg.mozilla.org/integration/autoland/rev/4f65f68ee848
part3 : ensure HDCP2.2 compatible would be vaild when the flag contains 'CapabilitesFlag::NeedHDCPCheck'. r=jolin

Backed out for causing causing build bustages on MFCDMParent.cpp

Flags: needinfo?(alwu)
Flags: needinfo?(alwu)
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5849055ce485
part1 : add 'isHardwareDecryption' on MFCDMCapabilitiesIPDL. r=jolin
https://hg.mozilla.org/integration/autoland/rev/72de2a649e60
part2 : cached capabilities in the MFCDM process. r=jolin
https://hg.mozilla.org/integration/autoland/rev/38d3d0010972
part3 : ensure HDCP2.2 compatible would be vaild when the flag contains 'CapabilitesFlag::NeedHDCPCheck'. r=jolin

Backed out for causing bc failures in EnumSerializer.h

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: Assertion failure: EnumValidator::IsLegalValue( static_cast<std::underlying_type_t<paramType>>(aValue)), at /builds/worker/workspace/obj-build/dist/include/ipc/EnumSerializer.h:61
Flags: needinfo?(alwu)
Flags: needinfo?(alwu)
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ddc046e490e6
part1 : add 'isHardwareDecryption' on MFCDMCapabilitiesIPDL. r=jolin
https://hg.mozilla.org/integration/autoland/rev/bc0edc45243d
part2 : cached capabilities in the MFCDM process. r=jolin
https://hg.mozilla.org/integration/autoland/rev/98d9fffd1d84
part3 : ensure HDCP2.2 compatible would be vaild when the flag contains 'CapabilitesFlag::NeedHDCPCheck'. r=jolin
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Regressions: 1887971
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: