Closed Bug 1814749 Opened 1 year ago Closed 1 year ago

Do not endlessly recreate MF CDM process when it's crashed

Categories

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

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

In bug 1808804, we implemented a way to recover playback, but we should set a threshold for retry amount. If the MFCDM process keeps crashing, then we would fallback to the normal playback pipeline and stop trying to use media engine pipeline.

Attachment #9324335 - Attachment description: Bug 1814749 - part2 : do not recover the CDM process unlimitedly. → Bug 1814749 - part1 : do not recover the CDM process from crash unlimitedly.

Depends on D173374

Attachment #9324333 - Attachment is obsolete: true
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a8eb0d7b8b65
part1 : do not recover the CDM process from crash unlimitedly. r=jolin
https://hg.mozilla.org/integration/autoland/rev/babe4bfab4f7
part2 : do not call engine method until the recovery finishes. r=jolin
https://hg.mozilla.org/integration/autoland/rev/84c7cbeaccd6
part3 : add a test. r=jolin

Backed out 3 changesets (Bug 1814749) for build bustages on ExternalEngineStateMachine.cpp.
Backout link
Push with failures <--> Bip
Failure Log

Flags: needinfo?(alwu)
Flags: needinfo?(alwu)
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d875d0efc8d7
part1 : do not recover the CDM process from crash unlimitedly. r=jolin
https://hg.mozilla.org/integration/autoland/rev/13ce54d6bdc7
part2 : do not call engine method until the recovery finishes. r=jolin
https://hg.mozilla.org/integration/autoland/rev/7582e5c56f4a
part3 : add a test. r=jolin
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: