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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 }; | 68 }; |
69 | 69 |
70 enum RTPExtensionType { | 70 enum RTPExtensionType { |
71 kRtpExtensionNone, | 71 kRtpExtensionNone, |
72 kRtpExtensionTransmissionTimeOffset, | 72 kRtpExtensionTransmissionTimeOffset, |
73 kRtpExtensionAudioLevel, | 73 kRtpExtensionAudioLevel, |
74 kRtpExtensionAbsoluteSendTime, | 74 kRtpExtensionAbsoluteSendTime, |
75 kRtpExtensionVideoRotation, | 75 kRtpExtensionVideoRotation, |
76 kRtpExtensionTransportSequenceNumber, | 76 kRtpExtensionTransportSequenceNumber, |
77 kRtpExtensionPlayoutDelay, | 77 kRtpExtensionPlayoutDelay, |
78 kRtpExtensionNumberOfExtensions, | 78 kRtpExtensionVideoContentType, |
| 79 kRtpExtensionNumberOfExtensions // Must be the last entity in the enum. |
79 }; | 80 }; |
80 | 81 |
81 enum RTCPAppSubTypes { kAppSubtypeBwe = 0x00 }; | 82 enum RTCPAppSubTypes { kAppSubtypeBwe = 0x00 }; |
82 | 83 |
83 // TODO(sprang): Make this an enum class once rtcp_receiver has been cleaned up. | 84 // TODO(sprang): Make this an enum class once rtcp_receiver has been cleaned up. |
84 enum RTCPPacketType : uint32_t { | 85 enum RTCPPacketType : uint32_t { |
85 kRtcpReport = 0x0001, | 86 kRtcpReport = 0x0001, |
86 kRtcpSr = 0x0002, | 87 kRtcpSr = 0x0002, |
87 kRtcpRr = 0x0004, | 88 kRtcpRr = 0x0004, |
88 kRtcpSdes = 0x0008, | 89 kRtcpSdes = 0x0008, |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 class TransportSequenceNumberAllocator { | 434 class TransportSequenceNumberAllocator { |
434 public: | 435 public: |
435 TransportSequenceNumberAllocator() {} | 436 TransportSequenceNumberAllocator() {} |
436 virtual ~TransportSequenceNumberAllocator() {} | 437 virtual ~TransportSequenceNumberAllocator() {} |
437 | 438 |
438 virtual uint16_t AllocateSequenceNumber() = 0; | 439 virtual uint16_t AllocateSequenceNumber() = 0; |
439 }; | 440 }; |
440 | 441 |
441 } // namespace webrtc | 442 } // namespace webrtc |
442 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ | 443 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ |
OLD | NEW |