Closed Bug 1146485 Opened 10 years ago Closed 9 years ago

Use MediaPromises for CDM waiting instead of NotifyWaitingForResourcesStatusChanged

Categories

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

x86
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1208922

People

(Reporter: bholley, Unassigned)

References

Details

The current setup requires us to read state across threads with Monitors (by invoking IsWaitingOnCDMResource() on the state machine thread). We should fix this up into a nicer promise-y model whereby the resolution of the promise means that the decoder is no longer waiting.
jya is going to do the WAITING_FOR_RESOURCES stuff in a different bug.
Summary: Use MediaPromises for resource / CDM waiting instead of NotifyWaitingForResourcesStatusChanged → Use MediaPromises for CDM waiting instead of NotifyWaitingForResourcesStatusChanged
Blocks: 1146685
Priority: -- → P2
The work has been done in bug 1208922. We can close this bug now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.