Closed Bug 1628521 Opened 5 years ago Closed 5 years ago

Do not create media sink when 'mIsMediaSinkSuspended' is true

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

Details

Attachments

(1 file)

In bug1571513, we added a mechanism of suspending/resuming media sink, and we should not recreate the media sink during the time of suspending media sink.

However, while I was working on bug1627818, I found a case where we would create media sink during suspending period. That is via UpdateOutputCaptured(), and we should prevent it from creating media sink before we call ResumeMediaSink().

In bug1571513, we added a mechanism of suspending/resuming media sink, and we should not recreate the media sink during the time of suspending media sink.

However, I found a case where we would create media sink during suspending period. That is via UpdateOutputCaptured(), and we should prevent it from creating media sink before we call ResumeMediaSink().

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/adf867fbb9c6 prevent MDSM from creating media sink during suspending period. r=bryce
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: