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