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

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: whitespace 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
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 enum RetransmissionMode : uint8_t { 116 enum RetransmissionMode : uint8_t {
117 kRetransmitOff = 0x0, 117 kRetransmitOff = 0x0,
118 kRetransmitFECPackets = 0x1, 118 kRetransmitFECPackets = 0x1,
119 kRetransmitBaseLayer = 0x2, 119 kRetransmitBaseLayer = 0x2,
120 kRetransmitHigherLayers = 0x4, 120 kRetransmitHigherLayers = 0x4,
121 kConditionallyRetransmitHigherLayers = 0x8,
danilchap 2017/08/29 17:31:19 can you add some comment what 'conditionally' mean
sprang_webrtc 2017/08/31 15:54:28 Done.
121 kRetransmitAllPackets = 0xFF 122 kRetransmitAllPackets = 0xFF
122 }; 123 };
123 124
124 enum RtxMode { 125 enum RtxMode {
125 kRtxOff = 0x0, 126 kRtxOff = 0x0,
126 kRtxRetransmitted = 0x1, // Only send retransmissions over RTX. 127 kRtxRetransmitted = 0x1, // Only send retransmissions over RTX.
127 kRtxRedundantPayloads = 0x2 // Preventively send redundant payloads 128 kRtxRedundantPayloads = 0x2 // Preventively send redundant payloads
128 // instead of padding. 129 // instead of padding.
129 }; 130 };
130 131
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 class TransportSequenceNumberAllocator { 476 class TransportSequenceNumberAllocator {
476 public: 477 public:
477 TransportSequenceNumberAllocator() {} 478 TransportSequenceNumberAllocator() {}
478 virtual ~TransportSequenceNumberAllocator() {} 479 virtual ~TransportSequenceNumberAllocator() {}
479 480
480 virtual uint16_t AllocateSequenceNumber() = 0; 481 virtual uint16_t AllocateSequenceNumber() = 0;
481 }; 482 };
482 483
483 } // namespace webrtc 484 } // namespace webrtc
484 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ 485 #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_vp8.cc » ('j') | webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698