Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: video/video_receive_stream.h

Issue 3016633002: Reland of Fix the video buffer size should take rtt into consideration (Closed)
Patch Set: Rebase Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/video_coding/frame_buffer2.cc ('k') | video/video_receive_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: video/video_receive_stream.h
diff --git a/video/video_receive_stream.h b/video/video_receive_stream.h
index 7a4a13e474221cc5a2f0d2a690b61746be99c085..b2eaa5e2e2fe29fb6e18ebad718cf41a0c8f1a27 100644
--- a/video/video_receive_stream.h
+++ b/video/video_receive_stream.h
@@ -50,7 +50,8 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream,
public NackSender,
public KeyFrameRequestSender,
public video_coding::OnCompleteFrameCallback,
- public Syncable {
+ public Syncable,
+ public CallStatsObserver {
public:
VideoReceiveStream(RtpStreamReceiverControllerInterface* receiver_controller,
int num_cpu_cores,
@@ -103,6 +104,9 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream,
void OnCompleteFrame(
std::unique_ptr<video_coding::FrameObject> frame) override;
+ // Implements CallStatsObserver::OnRttUpdate
+ void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override;
+
// Implements Syncable.
int id() const override;
rtc::Optional<Syncable::Info> GetInfo() const override;
« no previous file with comments | « modules/video_coding/frame_buffer2.cc ('k') | video/video_receive_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698