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

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

Issue 1198853004: Add statistics gathering for packet loss. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 6 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 struct RtpPacketLossStats {
noahric 2015/06/26 00:21:19 Comment for this struct and each field.
bcornell 2015/06/30 19:47:45 Done.
358 uint64_t single_packet_loss_count;
359 uint64_t multiple_packet_loss_event_count;
360 uint64_t multiple_packet_loss_packet_count;
361 };
362
357 } // namespace webrtc 363 } // namespace webrtc
358 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ 364 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698