зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1190676 - Part 9 - Fix consumers: AudioCapture. r=roc
--HG-- extra : rebase_source : b099a3682e305c3ebe02600a08b68c9f547991f0
This commit is contained in:
Родитель
0662256535
Коммит
1d89543d08
|
@ -4710,7 +4710,9 @@ NS_IMETHODIMP HTMLMediaElement::WindowAudioCaptureChanged()
|
|||
nsCOMPtr<nsPIDOMWindow> window =
|
||||
do_QueryInterface(OwnerDoc()->GetParentObject());
|
||||
uint64_t id = window->WindowID();
|
||||
MediaStreamGraph* msg = MediaStreamGraph::GetInstance();
|
||||
MediaStreamGraph* msg =
|
||||
MediaStreamGraph::GetInstance(MediaStreamGraph::AUDIO_THREAD_DRIVER,
|
||||
AudioChannel::Normal);
|
||||
|
||||
if (!mPlaybackStream) {
|
||||
nsRefPtr<DOMMediaStream> stream = CaptureStreamInternal(false, msg);
|
||||
|
|
Загрузка…
Ссылка в новой задаче