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

Unified Diff: webrtc/modules/video_coding/include/video_coding_defines.h

Issue 2911193002: Implement timing frames. (Closed)
Patch Set: Fixing tests pass 3 Created 3 years, 6 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/include/video_coding_defines.h
diff --git a/webrtc/modules/video_coding/include/video_coding_defines.h b/webrtc/modules/video_coding/include/video_coding_defines.h
index b27bcd9ead8aa6407d11fe1b638c1f9667f952e7..6ed472df5e62da2b64f50a45fca810714217c891 100644
--- a/webrtc/modules/video_coding/include/video_coding_defines.h
+++ b/webrtc/modules/video_coding/include/video_coding_defines.h
@@ -39,7 +39,14 @@ namespace webrtc {
#define VCM_NO_FRAME_DECODED -11
#define VCM_NOT_IMPLEMENTED -20
-enum { kDefaultStartBitrateKbps = 300 };
+enum {
+ kDefaultStartBitrateKbps = 300,
+ // Timing frames settings. Timing frames are sent every
+ // |kDefaultTimingFramesDelayMs|, or if the frame is at least
+ // |kDefaultOutliserFrameSizePercent| in size of average frame.
+ kDefaultTimingFramesDelayMs = 200,
+ kDefaultOutlierFrameSizePercent = 250,
+};
enum VCMVideoProtection {
kProtectionNone,

Powered by Google App Engine
This is Rietveld 408576698