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

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: Another hopeful Mac build fix Created 5 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
« no previous file with comments | « webrtc/modules/rtp_rtcp/BUILD.gn ('k') | webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bool outgoing,
446 uint32_t ssrc,
447 struct RtpPacketLossStats* loss_stats) const = 0;
448
449 /*
442 * Get received RTCP sender info 450 * Get received RTCP sender info
443 * 451 *
444 * return -1 on failure else 0 452 * return -1 on failure else 0
445 */ 453 */
446 virtual int32_t RemoteRTCPStat(RTCPSenderInfo* senderInfo) = 0; 454 virtual int32_t RemoteRTCPStat(RTCPSenderInfo* senderInfo) = 0;
447 455
448 /* 456 /*
449 * Get received RTCP report block 457 * Get received RTCP report block
450 * 458 *
451 * return -1 on failure else 0 459 * return -1 on failure else 0
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 646
639 /* 647 /*
640 * send a request for a keyframe 648 * send a request for a keyframe
641 * 649 *
642 * return -1 on failure else 0 650 * return -1 on failure else 0
643 */ 651 */
644 virtual int32_t RequestKeyFrame() = 0; 652 virtual int32_t RequestKeyFrame() = 0;
645 }; 653 };
646 } // namespace webrtc 654 } // namespace webrtc
647 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ 655 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/BUILD.gn ('k') | webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698