Delete method VideoStreamDecoder::UpdateRtt
It's routed to the old jitter buffer, which is instantiated but unused. Bug: webrtc:7408 Change-Id: I8fe2d8a2bfa6c2119945cc294d17982af4f830cc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/127541 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27100}
This commit is contained in:
parent
ecc11eb6e7
commit
133b307c7d
@ -515,7 +515,6 @@ void VideoReceiveStream::OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) {
|
||||
RTC_DCHECK_CALLED_SEQUENTIALLY(&module_process_sequence_checker_);
|
||||
frame_buffer_->UpdateRtt(max_rtt_ms);
|
||||
rtp_video_stream_receiver_.UpdateRtt(max_rtt_ms);
|
||||
video_stream_decoder_->UpdateRtt(max_rtt_ms);
|
||||
}
|
||||
|
||||
void VideoReceiveStream::OnRttUpdated(int64_t rtt_ms) {
|
||||
|
||||
@ -114,7 +114,4 @@ void VideoStreamDecoder::OnCompleteFrame(bool is_keyframe,
|
||||
size_t size_bytes,
|
||||
VideoContentType content_type) {}
|
||||
|
||||
void VideoStreamDecoder::UpdateRtt(int64_t max_rtt_ms) {
|
||||
video_receiver_->SetReceiveChannelParameters(max_rtt_ms);
|
||||
}
|
||||
} // namespace webrtc
|
||||
|
||||
@ -77,9 +77,6 @@ class VideoStreamDecoder : public VCMReceiveCallback,
|
||||
void RegisterReceiveStatisticsProxy(
|
||||
ReceiveStatisticsProxy* receive_statistics_proxy);
|
||||
|
||||
// Called by VideoReceiveStream when stats are updated.
|
||||
void UpdateRtt(int64_t max_rtt_ms);
|
||||
|
||||
private:
|
||||
// Used for all registered callbacks except rendering.
|
||||
rtc::CriticalSection crit_;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user