Chromium Code Reviews

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

Issue 2870823003: Configured VCMTiming with sender defining delay times. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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;
+ }
+
/**
* 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.h » ('J')

Powered by Google App Engine