зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1208371 - Forward input stream and track id on regular track changes for union streams. r=roc
MozReview-Commit-ID: 3JsDI3jsnBb --HG-- extra : rebase_source : ce7cd5d64530da3f4590f37f1101b9c20afe2623
This commit is contained in:
Родитель
6d73d83ee7
Коммит
ddf091a726
|
@ -303,7 +303,9 @@ TrackUnionStream::TrackUnionStream(DOMMediaStream* aWrapper) :
|
||||||
for (uint32_t j = 0; j < mListeners.Length(); ++j) {
|
for (uint32_t j = 0; j < mListeners.Length(); ++j) {
|
||||||
MediaStreamListener* l = mListeners[j];
|
MediaStreamListener* l = mListeners[j];
|
||||||
l->NotifyQueuedTrackChanges(Graph(), outputTrack->GetID(),
|
l->NotifyQueuedTrackChanges(Graph(), outputTrack->GetID(),
|
||||||
outputStart, 0, *segment);
|
outputStart, 0, *segment,
|
||||||
|
map->mInputPort->GetSource(),
|
||||||
|
map->mInputTrackID);
|
||||||
}
|
}
|
||||||
for (TrackBound<MediaStreamTrackListener>& b : mTrackListeners) {
|
for (TrackBound<MediaStreamTrackListener>& b : mTrackListeners) {
|
||||||
if (b.mTrackID != outputTrack->GetID()) {
|
if (b.mTrackID != outputTrack->GetID()) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче