Index: webrtc/video/vie_channel.cc |
diff --git a/webrtc/video/vie_channel.cc b/webrtc/video/vie_channel.cc |
index 4097a8b8463487c0dcefbd4853b116d289dd0170..54bc72bd163de0ae1970170c5c54eb59e97da8ea 100644 |
--- a/webrtc/video/vie_channel.cc |
+++ b/webrtc/video/vie_channel.cc |
@@ -430,14 +430,10 @@ int32_t ViEChannel::SetReceiveCodec(const VideoCodec& video_codec) { |
return 0; |
} |
- |
-int32_t ViEChannel::RegisterExternalDecoder(const uint8_t pl_type, |
- VideoDecoder* decoder, |
- bool buffered_rendering, |
- int32_t render_delay) { |
+void ViEChannel::RegisterExternalDecoder(const uint8_t pl_type, |
+ VideoDecoder* decoder) { |
RTC_DCHECK(!sender_); |
- vcm_->RegisterExternalDecoder(decoder, pl_type, buffered_rendering); |
- return vcm_->SetRenderDelay(render_delay); |
+ vcm_->RegisterExternalDecoder(decoder, pl_type); |
} |
int32_t ViEChannel::ReceiveCodecStatistics(uint32_t* num_key_frames, |
@@ -456,6 +452,10 @@ int ViEChannel::ReceiveDelay() const { |
return vcm_->Delay(); |
} |
+void ViEChannel::SetExpectedRenderDelay(int delay_ms) { |
+ vcm_->SetRenderDelay(delay_ms); |
+} |
+ |
void ViEChannel::SetRTCPMode(const RtcpMode rtcp_mode) { |
for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) |
rtp_rtcp->SetRTCPStatus(rtcp_mode); |