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

Side by Side Diff: webrtc/modules/rtp_rtcp/interface/rtp_rtcp.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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 uint32_t* packetsSent) const = 0; 432 uint32_t* packetsSent) const = 0;
433 433
434 /* 434 /*
435 * Get send statistics for the RTP and RTX stream. 435 * Get send statistics for the RTP and RTX stream.
436 */ 436 */
437 virtual void GetSendStreamDataCounters( 437 virtual void GetSendStreamDataCounters(
438 StreamDataCounters* rtp_counters, 438 StreamDataCounters* rtp_counters,
439 StreamDataCounters* rtx_counters) const = 0; 439 StreamDataCounters* rtx_counters) const = 0;
440 440
441 /* 441 /*
442 * Get packet loss statistics for the RTP stream.
443 */
444 virtual void GetRtpPacketLossStats(
445 struct RtpPacketLossStats* incoming_loss,
446 struct RtpPacketLossStats* outgoing_loss) const = 0;
447
448 /*
442 * Get received RTCP sender info 449 * Get received RTCP sender info
443 * 450 *
444 * return -1 on failure else 0 451 * return -1 on failure else 0
445 */ 452 */
446 virtual int32_t RemoteRTCPStat(RTCPSenderInfo* senderInfo) = 0; 453 virtual int32_t RemoteRTCPStat(RTCPSenderInfo* senderInfo) = 0;
447 454
448 /* 455 /*
449 * Get received RTCP report block 456 * Get received RTCP report block
450 * 457 *
451 * return -1 on failure else 0 458 * return -1 on failure else 0
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 645
639 /* 646 /*
640 * send a request for a keyframe 647 * send a request for a keyframe
641 * 648 *
642 * return -1 on failure else 0 649 * return -1 on failure else 0
643 */ 650 */
644 virtual int32_t RequestKeyFrame() = 0; 651 virtual int32_t RequestKeyFrame() = 0;
645 }; 652 };
646 } // namespace webrtc 653 } // namespace webrtc
647 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ 654 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698