зеркало из https://github.com/mozilla/gecko-dev.git
Bug 903758 - Media Recording - setting the recorder state to inActive on the stop method. r=roc
This commit is contained in:
Родитель
7c764f9aa5
Коммит
0a33533447
|
@ -228,6 +228,7 @@ MediaRecorder::Stop(ErrorResult& aResult)
|
|||
aResult.Throw(NS_ERROR_DOM_INVALID_STATE_ERR);
|
||||
return;
|
||||
}
|
||||
mState = RecordingState::Inactive;
|
||||
mTrackUnionStream->RemoveListener(mEncoder);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче