[wmfme] some fixes and improvements before enabling media engine pref
Categories
(Core :: Audio/Video: Playback, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
There are some fixes and improvement we can do for the media engine playback.
Assignee | ||
Comment 1•8 months ago
|
||
Assignee | ||
Comment 2•8 months ago
|
||
When enalbing media engine playback, we would always start with the
external state machine that would communicate with the media engine.
If the media format or key system is not supported by the media engine,
we would fallback to the MediaDecoderStateMachine (MDSM). In this
situation, we want this transition invisible to users.
Therefore, if the external state machine has loaded and informed the
loadedmetadata
to the media element, we shouldn't do it again.
According to the spec [1], the loadedmetadata
should only be
dispatched once.
[1] https://html.spec.whatwg.org/multipage/media.html#event-media-loadedmetadata
Assignee | ||
Comment 3•8 months ago
|
||
Assignee | ||
Comment 4•8 months ago
|
||
Assignee | ||
Comment 5•8 months ago
|
||
In browser_utility_multipleAudio.js
we discover an issue where
we incorrectly create a decoder in the MFCDM process for
non-media-engine playback, which made the playback never start.
Adding this check to ensure that non-media-engine playback would never
use a remote decoder from the MFCDM process.
Assignee | ||
Comment 6•8 months ago
|
||
There is a timing issue where we would re-initialize the video bridge
causing an assertion, which is discovered by
browser_utility_multipleAudio.js
.
Comment 8•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d17677f0c58a
https://hg.mozilla.org/mozilla-central/rev/783163d736e5
https://hg.mozilla.org/mozilla-central/rev/f678e00a9d18
https://hg.mozilla.org/mozilla-central/rev/c2e3aed2c7db
https://hg.mozilla.org/mozilla-central/rev/0aaf120a192d
https://hg.mozilla.org/mozilla-central/rev/99f73914c529
Description
•