Allow re-evaluating input device when GraphDriver is not AudioCallbackDriver
Categories
(Core :: Audio/Video: MediaStreamGraph, enhancement, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox99 | --- | fixed |
People
(Reporter: chunmin, Assigned: chunmin)
References
Details
Attachments
(2 files)
Per bug 1749281 commet 4, the AudioInputProcessing::mRequestedInputChannelCount will be used before it's set in AudioInputProcessing::SetRequestedInputChannelCount via MediaEngineWebRTCMicrophoneSource::ApplySettings. It's better to call SetRequestedInputChannelCount, which will call MediaTrackGraphImpl::ReevaluateInputDevice(), before mRequestedInputChannelCount is used. However, when SetRequestedInputChannelCount is called, the MediaTrackGraph may be driven by SystemClockDriver so we need to allow running MediaTrackGraphImpl::ReevaluateInputDevice() during SystemClockDriver time, or not to call it when SystemClockDriver time
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Depends on D136795
Updated•4 years ago
|
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5f67a050016f
https://hg.mozilla.org/mozilla-central/rev/0fc51ca0327f
Description
•