Index: webrtc/video/video_receive_stream.cc |
diff --git a/webrtc/video/video_receive_stream.cc b/webrtc/video/video_receive_stream.cc |
index 7835e779b0dca5aa11fe5c79f20a3976bd47b9c5..40b56f1f7acadc696e0ad88389bcfecbf863341e 100644 |
--- a/webrtc/video/video_receive_stream.cc |
+++ b/webrtc/video/video_receive_stream.cc |
@@ -33,7 +33,6 @@ |
#include "webrtc/video/call_stats.h" |
#include "webrtc/video/receive_statistics_proxy.h" |
#include "webrtc/video_receive_stream.h" |
-#include "webrtc/voice_engine/include/voe_video_sync.h" |
namespace webrtc { |
@@ -191,7 +190,6 @@ VideoReceiveStream::VideoReceiveStream( |
CongestionController* congestion_controller, |
PacketRouter* packet_router, |
VideoReceiveStream::Config config, |
- webrtc::VoiceEngine* voice_engine, |
ProcessThread* process_thread, |
CallStats* call_stats, |
VieRemb* remb) |
@@ -357,15 +355,8 @@ void VideoReceiveStream::Stop() { |
transport_adapter_.Disable(); |
} |
-void VideoReceiveStream::SetSyncChannel(VoiceEngine* voice_engine, |
- int audio_channel_id) { |
- if (voice_engine && audio_channel_id != -1) { |
- VoEVideoSync* voe_sync_interface = VoEVideoSync::GetInterface(voice_engine); |
- rtp_stream_sync_.ConfigureSync(audio_channel_id, voe_sync_interface); |
- voe_sync_interface->Release(); |
- } else { |
- rtp_stream_sync_.ConfigureSync(-1, nullptr); |
- } |
+void VideoReceiveStream::SetSync(Syncable* syncable) { |
+ rtp_stream_sync_.ConfigureSync(syncable); |
} |
VideoReceiveStream::Stats VideoReceiveStream::GetStats() const { |