Implement timing frames.
Timing information is gathered in EncodedImage, starting at encoders. Then it's sent using RTP header extension. In the end, it's gathered at the GenericDecoder. Actual reporting and tests will be in the next CLs. BUG=webrtc:7594 Review-Url: https://codereview.webrtc.org/2911193002 Cr-Commit-Position: refs/heads/master@{#18659}
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user