mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 1166183 - Reset PipelineListener's flag after ReplaceTrack(). r=bwc
This commit is contained in:
parent
b9ec958b6c
commit
02fa145844
@ -630,12 +630,10 @@ void MediaPipelineTransmit::AttachToTrack(const std::string& track_id) {
|
||||
|
||||
stream_->AddListener(listener_);
|
||||
|
||||
// Is this a gUM mediastream? If so, also register the Listener directly with
|
||||
// the SourceMediaStream that's attached to the TrackUnion so we can get direct
|
||||
// unqueued (and not resampled) data
|
||||
if (domstream_->AddDirectListener(listener_)) {
|
||||
listener_->direct_connect_ = true;
|
||||
}
|
||||
// Is this a gUM mediastream? If so, also register the Listener directly with
|
||||
// the SourceMediaStream that's attached to the TrackUnion so we can get direct
|
||||
// unqueued (and not resampled) data
|
||||
listener_->direct_connect_ = domstream_->AddDirectListener(listener_);
|
||||
|
||||
#ifndef MOZILLA_INTERNAL_API
|
||||
// this enables the unit tests that can't fiddle with principals and the like
|
||||
|
Loading…
Reference in New Issue
Block a user