Open
Bug 1879353
Opened 2 years ago
Updated 4 months ago
Find a long-term solution that keeps the MediaTrackGraph spinning during default device changes
Categories
(Core :: Audio/Video: MediaStreamGraph, task, P3)
Core
Audio/Video: MediaStreamGraph
Tracking
()
NEW
People
(Reporter: pehrsons, Unassigned)
References
Details
In bug 1878380 we are adding a short-term fix to keep the graph spinning during slow device changes on macOS.
It working well is somewhat timing dependent, and the cubeb event it depends on is only implemented in the macOS backend.
This bug is for a long-term fix. An idea (kudos to padenot) for something simple is to modify the cubeb event we already rely on for detecting device changes, to return an enum telling the backend whether it should proceed and reconfigure itself, if it should continue on the current device, or if it should stop the stream. For playback we'd then tell it to continue as usual, while for real-time we'd hand the responsibility for switching devices to the MediaTrackGraph.
You need to log in
before you can comment on or make changes to this bug.
Description
•