зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1573524 - In MediaRecorder::MediaStreamReady, get the graph rate from a track that's guaranteed live. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D42525 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
fe3c28a25a
Коммит
3321f57840
|
@ -714,7 +714,7 @@ class MediaRecorder::Session : public PrincipalChangeObserver<MediaStreamTrack>,
|
|||
|
||||
LOG(LogLevel::Debug,
|
||||
("Session.MediaTracksReady track type = (%d)", trackTypes));
|
||||
InitEncoder(trackTypes, tracks[0]->Graph()->GraphRate());
|
||||
InitEncoder(trackTypes, mMediaStreamTracks[0]->Graph()->GraphRate());
|
||||
}
|
||||
|
||||
void ConnectMediaStreamTrack(MediaStreamTrack& aTrack) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче