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 22 matching lines...) Expand all Loading... |
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 { | 42 enum { |
43 kDefaultStartBitrateKbps = 300, | |
44 // Timing frames settings. Timing frames are sent every | 43 // Timing frames settings. Timing frames are sent every |
45 // |kDefaultTimingFramesDelayMs|, or if the frame is at least | 44 // |kDefaultTimingFramesDelayMs|, or if the frame is at least |
46 // |kDefaultOutliserFrameSizePercent| in size of average frame. | 45 // |kDefaultOutliserFrameSizePercent| in size of average frame. |
47 kDefaultTimingFramesDelayMs = 200, | 46 kDefaultTimingFramesDelayMs = 200, |
48 kDefaultOutlierFrameSizePercent = 250, | 47 kDefaultOutlierFrameSizePercent = 250, |
49 }; | 48 }; |
50 | 49 |
51 enum VCMVideoProtection { | 50 enum VCMVideoProtection { |
52 kProtectionNone, | 51 kProtectionNone, |
53 kProtectionNack, | 52 kProtectionNack, |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 public: | 165 public: |
167 virtual void RequestKeyFrame() = 0; | 166 virtual void RequestKeyFrame() = 0; |
168 | 167 |
169 protected: | 168 protected: |
170 virtual ~KeyFrameRequestSender() {} | 169 virtual ~KeyFrameRequestSender() {} |
171 }; | 170 }; |
172 | 171 |
173 } // namespace webrtc | 172 } // namespace webrtc |
174 | 173 |
175 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ | 174 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ |
OLD | NEW |