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

Side by Side Diff: webrtc/video/video_send_stream.h

Issue 1478253002: Add histogram stats for send delay for a sent video stream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 Stats GetStats() override; 69 Stats GetStats() override;
70 70
71 // webrtc::CpuOveruseObserver implementation. 71 // webrtc::CpuOveruseObserver implementation.
72 void OveruseDetected() override; 72 void OveruseDetected() override;
73 void NormalUsage() override; 73 void NormalUsage() override;
74 74
75 typedef std::map<uint32_t, RtpState> RtpStateMap; 75 typedef std::map<uint32_t, RtpState> RtpStateMap;
76 RtpStateMap GetRtpStates() const; 76 RtpStateMap GetRtpStates() const;
77 77
78 int GetPaddingNeededBps() const; 78 int GetPaddingNeededBps() const;
79 bool OnSentPacket(int packet_id);
mflodman 2016/04/26 06:49:11 I'd prefer OnPacketSent, wdyt?
åsapersson 2016/04/28 12:26:19 Called from Call::OnSentPacket. Maybe keep the sam
mflodman 2016/05/02 07:21:10 Ah, ok.
79 80
80 // Implements BitrateAllocatorObserver. 81 // Implements BitrateAllocatorObserver.
81 void OnBitrateUpdated(uint32_t bitrate_bps, 82 void OnBitrateUpdated(uint32_t bitrate_bps,
82 uint8_t fraction_loss, 83 uint8_t fraction_loss,
83 int64_t rtt) override; 84 int64_t rtt) override;
84 85
85 // Implements webrtc::VCMProtectionCallback. 86 // Implements webrtc::VCMProtectionCallback.
86 int ProtectionRequest(const FecProtectionParams* delta_params, 87 int ProtectionRequest(const FecProtectionParams* delta_params,
87 const FecProtectionParams* key_params, 88 const FecProtectionParams* key_params,
88 uint32_t* sent_video_rate_bps, 89 uint32_t* sent_video_rate_bps,
(...skipping 30 matching lines...) Expand all
119 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; 120 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_;
120 // RtpRtcp modules, declared here as they use other members on construction. 121 // RtpRtcp modules, declared here as they use other members on construction.
121 const std::vector<RtpRtcp*> rtp_rtcp_modules_; 122 const std::vector<RtpRtcp*> rtp_rtcp_modules_;
122 PayloadRouter payload_router_; 123 PayloadRouter payload_router_;
123 VideoCaptureInput input_; 124 VideoCaptureInput input_;
124 }; 125 };
125 } // namespace internal 126 } // namespace internal
126 } // namespace webrtc 127 } // namespace webrtc
127 128
128 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ 129 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698