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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 kRtcpTransmissionTimeOffset = 0x20000, | 92 kRtcpTransmissionTimeOffset = 0x20000, |
93 kRtcpXrReceiverReferenceTime = 0x40000, | 93 kRtcpXrReceiverReferenceTime = 0x40000, |
94 kRtcpXrDlrrReportBlock = 0x80000, | 94 kRtcpXrDlrrReportBlock = 0x80000, |
95 kRtcpTransportFeedback = 0x100000, | 95 kRtcpTransportFeedback = 0x100000, |
96 }; | 96 }; |
97 | 97 |
98 enum KeyFrameRequestMethod { kKeyFrameReqPliRtcp, kKeyFrameReqFirRtcp }; | 98 enum KeyFrameRequestMethod { kKeyFrameReqPliRtcp, kKeyFrameReqFirRtcp }; |
99 | 99 |
100 enum RtpRtcpPacketType { kPacketRtp = 0, kPacketKeepAlive = 1 }; | 100 enum RtpRtcpPacketType { kPacketRtp = 0, kPacketKeepAlive = 1 }; |
101 | 101 |
102 enum NACKMethod { kNackOff = 0, kNackRtcp = 2 }; | |
103 | |
104 enum RetransmissionMode : uint8_t { | 102 enum RetransmissionMode : uint8_t { |
105 kRetransmitOff = 0x0, | 103 kRetransmitOff = 0x0, |
106 kRetransmitFECPackets = 0x1, | 104 kRetransmitFECPackets = 0x1, |
107 kRetransmitBaseLayer = 0x2, | 105 kRetransmitBaseLayer = 0x2, |
108 kRetransmitHigherLayers = 0x4, | 106 kRetransmitHigherLayers = 0x4, |
109 kRetransmitAllPackets = 0xFF | 107 kRetransmitAllPackets = 0xFF |
110 }; | 108 }; |
111 | 109 |
112 enum RtxMode { | 110 enum RtxMode { |
113 kRtxOff = 0x0, | 111 kRtxOff = 0x0, |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 class TransportSequenceNumberAllocator { | 384 class TransportSequenceNumberAllocator { |
387 public: | 385 public: |
388 TransportSequenceNumberAllocator() {} | 386 TransportSequenceNumberAllocator() {} |
389 virtual ~TransportSequenceNumberAllocator() {} | 387 virtual ~TransportSequenceNumberAllocator() {} |
390 | 388 |
391 virtual uint16_t AllocateSequenceNumber() = 0; | 389 virtual uint16_t AllocateSequenceNumber() = 0; |
392 }; | 390 }; |
393 | 391 |
394 } // namespace webrtc | 392 } // namespace webrtc |
395 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ | 393 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ |
OLD | NEW |