Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h

Issue 2999063002: Add flag enabling more packets to be retransmittable. (Closed)
Patch Set: Addressed comments Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_format.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 kRtcpXrReceiverReferenceTime = 0x40000, 106 kRtcpXrReceiverReferenceTime = 0x40000,
107 kRtcpXrDlrrReportBlock = 0x80000, 107 kRtcpXrDlrrReportBlock = 0x80000,
108 kRtcpTransportFeedback = 0x100000, 108 kRtcpTransportFeedback = 0x100000,
109 kRtcpXrTargetBitrate = 0x200000 109 kRtcpXrTargetBitrate = 0x200000
110 }; 110 };
111 111
112 enum KeyFrameRequestMethod { kKeyFrameReqPliRtcp, kKeyFrameReqFirRtcp }; 112 enum KeyFrameRequestMethod { kKeyFrameReqPliRtcp, kKeyFrameReqFirRtcp };
113 113
114 enum RtpRtcpPacketType { kPacketRtp = 0, kPacketKeepAlive = 1 }; 114 enum RtpRtcpPacketType { kPacketRtp = 0, kPacketKeepAlive = 1 };
115 115
116 // kConditionallyRetransmitHigherLayers allows retransmission of video frames
117 // in higher layers if either the last frame in that layer was too far back in
118 // time, or if we estimate that a new frame will be available in a lower layer
119 // in a shorter time than it would take to request and receive a retransmission.
116 enum RetransmissionMode : uint8_t { 120 enum RetransmissionMode : uint8_t {
117 kRetransmitOff = 0x0, 121 kRetransmitOff = 0x0,
118 kRetransmitFECPackets = 0x1, 122 kRetransmitFECPackets = 0x1,
119 kRetransmitBaseLayer = 0x2, 123 kRetransmitBaseLayer = 0x2,
120 kRetransmitHigherLayers = 0x4, 124 kRetransmitHigherLayers = 0x4,
125 kConditionallyRetransmitHigherLayers = 0x8,
121 kRetransmitAllPackets = 0xFF 126 kRetransmitAllPackets = 0xFF
122 }; 127 };
123 128
124 enum RtxMode { 129 enum RtxMode {
125 kRtxOff = 0x0, 130 kRtxOff = 0x0,
126 kRtxRetransmitted = 0x1, // Only send retransmissions over RTX. 131 kRtxRetransmitted = 0x1, // Only send retransmissions over RTX.
127 kRtxRedundantPayloads = 0x2 // Preventively send redundant payloads 132 kRtxRedundantPayloads = 0x2 // Preventively send redundant payloads
128 // instead of padding. 133 // instead of padding.
129 }; 134 };
130 135
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 class TransportSequenceNumberAllocator { 480 class TransportSequenceNumberAllocator {
476 public: 481 public:
477 TransportSequenceNumberAllocator() {} 482 TransportSequenceNumberAllocator() {}
478 virtual ~TransportSequenceNumberAllocator() {} 483 virtual ~TransportSequenceNumberAllocator() {}
479 484
480 virtual uint16_t AllocateSequenceNumber() = 0; 485 virtual uint16_t AllocateSequenceNumber() = 0;
481 }; 486 };
482 487
483 } // namespace webrtc 488 } // namespace webrtc
484 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ 489 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698