зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 0f68913927a5 (bug 1499426) for mochitest failure on MediaEngineWebRTCAudio CLOSED TREE
This commit is contained in:
Родитель
0f97ca35a4
Коммит
404cf74da4
|
@ -520,9 +520,6 @@ void MediaEngineWebRTCMicrophoneSource::SetTrack(
|
|||
aStream->AddAudioTrack(aTrackID, aStream->GraphRate(), segment,
|
||||
SourceMediaStream::ADDTRACK_QUEUED);
|
||||
|
||||
mInputProcessing = new AudioInputProcessing(mDeviceMaxChannelCount, mStream,
|
||||
mTrackID, mPrincipal);
|
||||
|
||||
LOG("Stream %p registered for microphone capture", aStream.get());
|
||||
}
|
||||
|
||||
|
@ -569,6 +566,9 @@ nsresult MediaEngineWebRTCMicrophoneSource::Start(
|
|||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
mInputProcessing = new AudioInputProcessing(mDeviceMaxChannelCount, mStream,
|
||||
mTrackID, mPrincipal);
|
||||
|
||||
RefPtr<MediaEngineWebRTCMicrophoneSource> that = this;
|
||||
NS_DispatchToMainThread(media::NewRunnableFrom(
|
||||
[that, deviceID, stream = mStream, track = mTrackID]() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче