Closed Bug 1883784 Opened 7 months ago Closed 6 months ago

[wmfme] optimize the capabilites query time for MFCDM

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

(5 files, 1 obsolete file)

This bug is used to optimize the capabilities query time for MFCDM

See Also: → 1885761

"The hdcp query (item 4) has a computationally expensive first
invocation cost". See [1].

[1] https://learn.microsoft.com/en-us/windows/win32/api/mfmediaengine/nf-mfmediaengine-imfextendeddrmtypesupport-istypesupportedex

Depends on D205273

'If value is unspecified, default value of "cenc" is used.' That means
those supported video codecs we have now already support 'cenc', so we
don't need to query 'cenc' again.

See [1].

[1] https://learn.microsoft.com/en-us/windows/win32/api/mfmediaengine/nf-mfmediaengine-imfextendeddrmtypesupport-istypesupportedex

Depends on D205275

Summary: [wmfme] optimize the time of starting media engine → [wmfme] optimize the capabilites query time for MFCDM
Attachment #9389871 - Attachment is obsolete: true
Blocks: mfcdm
No longer blocks: mf-playback
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c5746d7c29ac part1 : reuse media engine factory to avoid unnecessary creation. r=jolin https://hg.mozilla.org/integration/autoland/rev/b5794c5f581e part2 : only perform HDCP check if necessary. r=jolin https://hg.mozilla.org/integration/autoland/rev/d7ec6f631e8d part3 : no need to check audio for hardware decryption. r=jolin https://hg.mozilla.org/integration/autoland/rev/6a72ba930bd7 part4 : no need to ask cenc again because it's the default value. r=jolin https://hg.mozilla.org/integration/autoland/rev/583a6e5b34d4 part5 : add a new CapabilitesFlag for ClearLead check. r=jolin

Backed out for causing (part of commit message)

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e112d7db9cbb part1 : reuse media engine factory to avoid unnecessary creation. r=jolin https://hg.mozilla.org/integration/autoland/rev/8f1acf9322b9 part2 : only perform HDCP check if necessary. r=jolin https://hg.mozilla.org/integration/autoland/rev/c569adae327d part3 : no need to check audio for hardware decryption. r=jolin https://hg.mozilla.org/integration/autoland/rev/3974723c71be part4 : no need to ask cenc again because it's the default value. r=jolin https://hg.mozilla.org/integration/autoland/rev/396b76ded255 part5 : add a new CapabilitesFlag for ClearLead check. 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/1080811a9d3d part1 : reuse media engine factory to avoid unnecessary creation. r=jolin https://hg.mozilla.org/integration/autoland/rev/a6fbdb6bdac5 part2 : only perform HDCP check if necessary. r=jolin https://hg.mozilla.org/integration/autoland/rev/597f18d7fd81 part3 : no need to check audio for hardware decryption. r=jolin https://hg.mozilla.org/integration/autoland/rev/08a0c66ba15d part4 : no need to ask cenc again because it's the default value. r=jolin https://hg.mozilla.org/integration/autoland/rev/64c75b6d3d32 part5 : add a new CapabilitesFlag for ClearLead check. r=jolin
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: