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

Unified Diff: webrtc/modules/video_coding/encoded_frame.h

Issue 2870823003: Configured VCMTiming with sender defining delay times. (Closed)
Patch Set: empty Created 3 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: webrtc/modules/video_coding/encoded_frame.h
diff --git a/webrtc/modules/video_coding/encoded_frame.h b/webrtc/modules/video_coding/encoded_frame.h
index 96f9d00d06e77780e9e6b5ac7b9f3125d63396f1..4296cfc3bb231f15c2d063d81ac11932d0931bb7 100644
--- a/webrtc/modules/video_coding/encoded_frame.h
+++ b/webrtc/modules/video_coding/encoded_frame.h
@@ -46,6 +46,12 @@ class VCMEncodedFrame : protected EncodedImage {
_encodedWidth = width;
_encodedHeight = height;
}
+
+ void SetPlayoutDelay(int min_playout_delay, int max_playout_delay) {
+ playout_delay_.min_ms = min_playout_delay;
+ playout_delay_.max_ms = max_playout_delay;
+ }
+
sprang_webrtc 2017/05/10 13:58:10 Do you really need this? Looks like it's only used
/**
* Get the encoded image
*/
« no previous file with comments | « no previous file | webrtc/modules/video_coding/frame_buffer2.h » ('j') | webrtc/modules/video_coding/frame_buffer2.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698