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•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D136795
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Pushed by cchang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5f67a050016f Allow re-evaluateing input device before starting audio r=padenot https://hg.mozilla.org/integration/autoland/rev/0fc51ca0327f Move declaration to if statement r=padenot
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5f67a050016f
https://hg.mozilla.org/mozilla-central/rev/0fc51ca0327f
Description
•