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

Unified Diff: remoting/codec/video_encoder.h

Issue 1908203002: Adapt encoder behavior to target bitrate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved webrtc encoder to its own file Created 4 years, 7 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
Index: remoting/codec/video_encoder.h
diff --git a/remoting/codec/video_encoder.h b/remoting/codec/video_encoder.h
index 99018f7d4e6c4ad2cde7cd2454722576f1f06351..e7de360b12383ac2440684d05bef1814992711f8 100644
--- a/remoting/codec/video_encoder.h
+++ b/remoting/codec/video_encoder.h
@@ -34,6 +34,8 @@ class VideoEncoder {
// there is no work to do.
virtual std::unique_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame,
uint32_t flags) = 0;
+
+ virtual void UpdateTargetBitrate(uint32_t bitrate) {}
Sergey Ulanov 2016/05/10 00:00:58 bitrate_kbps also make it int (https://google.gith
Irfan 2016/05/10 16:30:45 Done.
};
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698