diff --git a/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp b/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp index 7e15811343c6..f60a6f128d4a 100644 --- a/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp +++ b/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp @@ -630,12 +630,12 @@ 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 + if (domstream_->AddDirectListener(listener_)) { + listener_->direct_connect_ = true; + } #ifndef MOZILLA_INTERNAL_API // this enables the unit tests that can't fiddle with principals and the like