OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... | |
32 #define VCM_PARAMETER_ERROR -4 | 32 #define VCM_PARAMETER_ERROR -4 |
33 #define VCM_UNKNOWN_PAYLOAD -5 | 33 #define VCM_UNKNOWN_PAYLOAD -5 |
34 #define VCM_CODEC_ERROR -6 | 34 #define VCM_CODEC_ERROR -6 |
35 #define VCM_UNINITIALIZED -7 | 35 #define VCM_UNINITIALIZED -7 |
36 #define VCM_NO_CODEC_REGISTERED -8 | 36 #define VCM_NO_CODEC_REGISTERED -8 |
37 #define VCM_JITTER_BUFFER_ERROR -9 | 37 #define VCM_JITTER_BUFFER_ERROR -9 |
38 #define VCM_OLD_PACKET_ERROR -10 | 38 #define VCM_OLD_PACKET_ERROR -10 |
39 #define VCM_NO_FRAME_DECODED -11 | 39 #define VCM_NO_FRAME_DECODED -11 |
40 #define VCM_NOT_IMPLEMENTED -20 | 40 #define VCM_NOT_IMPLEMENTED -20 |
41 | 41 |
42 enum { kDefaultStartBitrateKbps = 300 }; | 42 enum { |
43 kDefaultStartBitrateKbps = 300, | |
44 // Timing frames settings. | |
45 kMinFrameSizeToForceTimingFrameBytes = 15000, | |
46 kTimingFramesDelayMs = 200, | |
sprang_webrtc
2017/05/31 11:12:55
These should have "default" somewhere in the name.
ilnik
2017/05/31 15:17:45
Done.
| |
47 }; | |
43 | 48 |
44 enum VCMVideoProtection { | 49 enum VCMVideoProtection { |
45 kProtectionNone, | 50 kProtectionNone, |
46 kProtectionNack, | 51 kProtectionNack, |
47 kProtectionFEC, | 52 kProtectionFEC, |
48 kProtectionNackFEC, | 53 kProtectionNackFEC, |
49 }; | 54 }; |
50 | 55 |
51 enum VCMTemporalDecimation { | 56 enum VCMTemporalDecimation { |
52 kBitrateOverUseDecimation, | 57 kBitrateOverUseDecimation, |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
157 public: | 162 public: |
158 virtual void RequestKeyFrame() = 0; | 163 virtual void RequestKeyFrame() = 0; |
159 | 164 |
160 protected: | 165 protected: |
161 virtual ~KeyFrameRequestSender() {} | 166 virtual ~KeyFrameRequestSender() {} |
162 }; | 167 }; |
163 | 168 |
164 } // namespace webrtc | 169 } // namespace webrtc |
165 | 170 |
166 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ | 171 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ |
OLD | NEW |