Closed Bug 1834101 Opened 3 years ago Closed 3 years ago

[wmfme] newly created state machine still can't handle seek (from previous state machine) properly

Categories

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

defect

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

Details

Attachments

(2 files)

Bug 1833266 still didn't fix the Netflix issue for the media engine playback. Netflix works if the playback starts from the beginning, but it would fail if the playback starts from non-start. That means we still didn't handle seeking between two state machines properly.

The old MDSM is going to be destroyed and it would reject the seeking
promise, which would result in aborting [1] the current seeking promise
for the media element.

Therefore, we should cancel that seeking request because we would
perform another new seek after recreating the MDSM, which would be the
one actually performing seeking.

[1]
https://searchfox.org/mozilla-central/rev/e409c755f313f6befb2c00f260bf873ccc191924/dom/media/MediaDecoder.cpp#949

Depends on D178556

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/06356e4d04ab part1 : add debug logs. r=jolin https://hg.mozilla.org/integration/autoland/rev/1fe0f0739626 part2 : discard seeking request from the old MDSM. r=jolin
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: