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

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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 Stats GetStats() override; 68 Stats GetStats() override;
69 69
70 // webrtc::CpuOveruseObserver implementation. 70 // webrtc::CpuOveruseObserver implementation.
71 void OveruseDetected() override; 71 void OveruseDetected() override;
72 void NormalUsage() override; 72 void NormalUsage() override;
73 73
74 typedef std::map<uint32_t, RtpState> RtpStateMap; 74 typedef std::map<uint32_t, RtpState> RtpStateMap;
75 RtpStateMap GetRtpStates() const; 75 RtpStateMap GetRtpStates() const;
76 76
77 int GetPaddingNeededBps() const; 77 int GetPaddingNeededBps() const;
78 bool OnSentPacket(int packet_id);
78 79
79 // Implements BitrateAllocatorObserver. 80 // Implements BitrateAllocatorObserver.
80 void OnBitrateUpdated(uint32_t bitrate_bps, 81 void OnBitrateUpdated(uint32_t bitrate_bps,
81 uint8_t fraction_loss, 82 uint8_t fraction_loss,
82 int64_t rtt) override; 83 int64_t rtt) override;
83 84
84 private: 85 private:
85 static bool EncoderThreadFunction(void* obj); 86 static bool EncoderThreadFunction(void* obj);
86 void EncoderProcess(); 87 void EncoderProcess();
87 88
(...skipping 24 matching lines...) Expand all
112 // TODO(pbos): Move RtpRtcp ownership to VideoSendStream. 113 // TODO(pbos): Move RtpRtcp ownership to VideoSendStream.
113 // RtpRtcp modules, currently owned by ViEChannel but ownership should 114 // RtpRtcp modules, currently owned by ViEChannel but ownership should
114 // eventually move here. 115 // eventually move here.
115 const std::vector<RtpRtcp*> rtp_rtcp_modules_; 116 const std::vector<RtpRtcp*> rtp_rtcp_modules_;
116 VideoCaptureInput input_; 117 VideoCaptureInput input_;
117 }; 118 };
118 } // namespace internal 119 } // namespace internal
119 } // namespace webrtc 120 } // namespace webrtc
120 121
121 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ 122 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698