Bug 1166183 - Back out the direct listener removal landed by mistake in bug 1141781. r=jesup

This commit is contained in:
Paul Adenot 2015-05-19 10:31:59 +02:00
Родитель a17309da18
Коммит df001b202b
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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