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

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

Issue 2986543002: Remove RtpRtcp::RemoteRTCPStat(RTCPSenderInfo*) as unused (Closed)
Patch Set: rebase Created 3 years, 5 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 enum RtxMode { 124 enum RtxMode {
125 kRtxOff = 0x0, 125 kRtxOff = 0x0,
126 kRtxRetransmitted = 0x1, // Only send retransmissions over RTX. 126 kRtxRetransmitted = 0x1, // Only send retransmissions over RTX.
127 kRtxRedundantPayloads = 0x2 // Preventively send redundant payloads 127 kRtxRedundantPayloads = 0x2 // Preventively send redundant payloads
128 // instead of padding. 128 // instead of padding.
129 }; 129 };
130 130
131 const size_t kRtxHeaderSize = 2; 131 const size_t kRtxHeaderSize = 2;
132 132
133 struct RTCPSenderInfo {
134 uint32_t NTPseconds;
135 uint32_t NTPfraction;
136 uint32_t RTPtimeStamp;
137 uint32_t sendPacketCount;
138 uint32_t sendOctetCount;
139 };
140
141 struct RTCPReportBlock { 133 struct RTCPReportBlock {
142 RTCPReportBlock() 134 RTCPReportBlock()
143 : remoteSSRC(0), sourceSSRC(0), fractionLost(0), cumulativeLost(0), 135 : remoteSSRC(0), sourceSSRC(0), fractionLost(0), cumulativeLost(0),
144 extendedHighSeqNum(0), jitter(0), lastSR(0), 136 extendedHighSeqNum(0), jitter(0), lastSR(0),
145 delaySinceLastSR(0) {} 137 delaySinceLastSR(0) {}
146 138
147 RTCPReportBlock(uint32_t remote_ssrc, 139 RTCPReportBlock(uint32_t remote_ssrc,
148 uint32_t source_ssrc, 140 uint32_t source_ssrc,
149 uint8_t fraction_lost, 141 uint8_t fraction_lost,
150 uint32_t cumulative_lost, 142 uint32_t cumulative_lost,
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 class TransportSequenceNumberAllocator { 449 class TransportSequenceNumberAllocator {
458 public: 450 public:
459 TransportSequenceNumberAllocator() {} 451 TransportSequenceNumberAllocator() {}
460 virtual ~TransportSequenceNumberAllocator() {} 452 virtual ~TransportSequenceNumberAllocator() {}
461 453
462 virtual uint16_t AllocateSequenceNumber() = 0; 454 virtual uint16_t AllocateSequenceNumber() = 0;
463 }; 455 };
464 456
465 } // namespace webrtc 457 } // namespace webrtc
466 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ 458 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/include/rtp_rtcp.h ('k') | webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698