Closed Bug 1505972 Opened 1 year ago Closed 1 year ago
MDSM fails to seamless looping if media sink has been completed before MDSM enable looping
47 bytes, text/x-phabricator-request
|Details | Review|
If media sink has been completed before we enable looping for MSDN, MDSM will fail to seamless looping. The reason is that the state will be changed to `CompletedState` immediately after entering `LoopingDecodingState` , so we need to reopen sink again.  https://searchfox.org/mozilla-central/rev/17f55aee76b7c4610a974cffd3453454e0c8de7b/dom/media/MediaDecoderStateMachine.cpp#2498
When state changes to 'LoopingDecodingState', we need to make sure the media sink is still working. Therefore, we have to reopen media sink if it has already been completed.
Marking P2 for now due to active work, awaiting priority on bug 1498733.
Priority: -- → P2
When entering 'loopingDecoding' state, we should ensure we would continue to decoding even if the audio decoding has finished before.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/a773a42f4c00 request audio data when entering 'loopingDecoding' state if decoding has ended r=jya
You need to log in before you can comment on or make changes to this bug.