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

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 5 years 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // webrtc::CpuOveruseObserver implementation. 65 // webrtc::CpuOveruseObserver implementation.
66 void OveruseDetected() override; 66 void OveruseDetected() override;
67 void NormalUsage() override; 67 void NormalUsage() override;
68 68
69 typedef std::map<uint32_t, RtpState> RtpStateMap; 69 typedef std::map<uint32_t, RtpState> RtpStateMap;
70 RtpStateMap GetRtpStates() const; 70 RtpStateMap GetRtpStates() const;
71 71
72 int64_t GetRtt() const; 72 int64_t GetRtt() const;
73 int GetPaddingNeededBps() const; 73 int GetPaddingNeededBps() const;
74 void OnSentPacket(int packet_id);
74 75
75 private: 76 private:
76 bool SetSendCodec(VideoCodec video_codec); 77 bool SetSendCodec(VideoCodec video_codec);
77 void ConfigureSsrcs(); 78 void ConfigureSsrcs();
78 79
79 SendStatisticsProxy stats_proxy_; 80 SendStatisticsProxy stats_proxy_;
80 TransportAdapter transport_adapter_; 81 TransportAdapter transport_adapter_;
81 EncodedFrameCallbackAdapter encoded_frame_proxy_; 82 EncodedFrameCallbackAdapter encoded_frame_proxy_;
82 const VideoSendStream::Config config_; 83 const VideoSendStream::Config config_;
83 VideoEncoderConfig encoder_config_; 84 VideoEncoderConfig encoder_config_;
(...skipping 10 matching lines...) Expand all
94 95
95 // Used as a workaround to indicate that we should be using the configured 96 // Used as a workaround to indicate that we should be using the configured
96 // start bitrate initially, instead of the one reported by VideoEngine (which 97 // start bitrate initially, instead of the one reported by VideoEngine (which
97 // defaults to too high). 98 // defaults to too high).
98 bool use_config_bitrate_; 99 bool use_config_bitrate_;
99 }; 100 };
100 } // namespace internal 101 } // namespace internal
101 } // namespace webrtc 102 } // namespace webrtc
102 103
103 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ 104 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698