| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 uint32_t remoteSSRC; // SSRC of sender of this report. | 154 uint32_t remoteSSRC; // SSRC of sender of this report. |
| 155 uint32_t sourceSSRC; // SSRC of the RTP packet sender. | 155 uint32_t sourceSSRC; // SSRC of the RTP packet sender. |
| 156 uint8_t fractionLost; | 156 uint8_t fractionLost; |
| 157 uint32_t cumulativeLost; // 24 bits valid. | 157 uint32_t cumulativeLost; // 24 bits valid. |
| 158 uint32_t extendedHighSeqNum; | 158 uint32_t extendedHighSeqNum; |
| 159 uint32_t jitter; | 159 uint32_t jitter; |
| 160 uint32_t lastSR; | 160 uint32_t lastSR; |
| 161 uint32_t delaySinceLastSR; | 161 uint32_t delaySinceLastSR; |
| 162 }; | 162 }; |
| 163 | 163 |
| 164 struct RtcpReceiveTimeInfo { | |
| 165 // Fields as described by RFC 3611 4.5. | |
| 166 uint32_t sourceSSRC; | |
| 167 uint32_t lastRR; | |
| 168 uint32_t delaySinceLastRR; | |
| 169 }; | |
| 170 | |
| 171 typedef std::list<RTCPReportBlock> ReportBlockList; | 164 typedef std::list<RTCPReportBlock> ReportBlockList; |
| 172 | 165 |
| 173 struct RtpState { | 166 struct RtpState { |
| 174 RtpState() | 167 RtpState() |
| 175 : sequence_number(0), | 168 : sequence_number(0), |
| 176 start_timestamp(0), | 169 start_timestamp(0), |
| 177 timestamp(0), | 170 timestamp(0), |
| 178 capture_time_ms(-1), | 171 capture_time_ms(-1), |
| 179 last_timestamp_time_ms(-1), | 172 last_timestamp_time_ms(-1), |
| 180 media_has_been_sent(false) {} | 173 media_has_been_sent(false) {} |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 class TransportSequenceNumberAllocator { | 389 class TransportSequenceNumberAllocator { |
| 397 public: | 390 public: |
| 398 TransportSequenceNumberAllocator() {} | 391 TransportSequenceNumberAllocator() {} |
| 399 virtual ~TransportSequenceNumberAllocator() {} | 392 virtual ~TransportSequenceNumberAllocator() {} |
| 400 | 393 |
| 401 virtual uint16_t AllocateSequenceNumber() = 0; | 394 virtual uint16_t AllocateSequenceNumber() = 0; |
| 402 }; | 395 }; |
| 403 | 396 |
| 404 } // namespace webrtc | 397 } // namespace webrtc |
| 405 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ | 398 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ |
| OLD | NEW |