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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 class NullRtpAudioFeedback : public RtpAudioFeedback { | 347 class NullRtpAudioFeedback : public RtpAudioFeedback { |
348 public: | 348 public: |
349 virtual ~NullRtpAudioFeedback() {} | 349 virtual ~NullRtpAudioFeedback() {} |
350 | 350 |
351 void OnPlayTelephoneEvent(const int32_t id, | 351 void OnPlayTelephoneEvent(const int32_t id, |
352 const uint8_t event, | 352 const uint8_t event, |
353 const uint16_t lengthMs, | 353 const uint16_t lengthMs, |
354 const uint8_t volume) override {} | 354 const uint8_t volume) override {} |
355 }; | 355 }; |
356 | 356 |
| 357 // Statistics about packet loss for a single directional connection. All values |
| 358 // are totals since the connection initiated. |
| 359 struct RtpPacketLossStats { |
| 360 // The number of packets lost in events where no adjacent packets were also |
| 361 // lost. |
| 362 uint64_t single_packet_loss_count; |
| 363 // The number of events in which more than one adjacent packet was lost. |
| 364 uint64_t multiple_packet_loss_event_count; |
| 365 // The number of packets lost in events where more than one adjacent packet |
| 366 // was lost. |
| 367 uint64_t multiple_packet_loss_packet_count; |
| 368 }; |
| 369 |
357 } // namespace webrtc | 370 } // namespace webrtc |
358 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ | 371 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ |
OLD | NEW |