Index: talk/app/webrtc/peerconnection.cc |
diff --git a/talk/app/webrtc/peerconnection.cc b/talk/app/webrtc/peerconnection.cc |
index 83e29191c8a2ac1b5003e5f684d7755250f11dec..9e49a7e9c510e115482f479e743d94d0e999301e 100644 |
--- a/talk/app/webrtc/peerconnection.cc |
+++ b/talk/app/webrtc/peerconnection.cc |
@@ -39,7 +39,6 @@ |
#include "talk/app/webrtc/mediastreamproxy.h" |
#include "talk/app/webrtc/mediastreamtrackproxy.h" |
#include "talk/app/webrtc/remoteaudiosource.h" |
-#include "talk/app/webrtc/remoteaudiotrack.h" |
#include "talk/app/webrtc/remotevideocapturer.h" |
#include "talk/app/webrtc/rtpreceiver.h" |
#include "talk/app/webrtc/rtpsender.h" |
@@ -453,7 +452,7 @@ class RemoteMediaStreamFactory { |
AudioProviderInterface* provider, |
webrtc::MediaStreamInterface* stream, |
const std::string& track_id) { |
- return AddTrack<AudioTrackInterface, RemoteAudioTrack, AudioTrackProxy>( |
+ return AddTrack<AudioTrackInterface, AudioTrack, AudioTrackProxy>( |
stream, track_id, RemoteAudioSource::Create(ssrc, provider)); |
} |
@@ -462,7 +461,7 @@ class RemoteMediaStreamFactory { |
return AddTrack<VideoTrackInterface, VideoTrack, VideoTrackProxy>( |
stream, track_id, |
VideoSource::Create(channel_manager_, new RemoteVideoCapturer(), |
- nullptr) |
+ nullptr, true) |
.get()); |
} |