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

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

Issue 1669623004: Use CallStats for RTT in Call, rather than VideoSendStream::GetRtt() (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed comment, rebase Created 4 years, 10 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/video/send_statistics_proxy.cc ('k') | webrtc/video/video_send_stream.cc » ('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) 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool ReconfigureVideoEncoder(const VideoEncoderConfig& config) override; 65 bool ReconfigureVideoEncoder(const VideoEncoderConfig& config) override;
66 Stats GetStats() override; 66 Stats GetStats() override;
67 67
68 // webrtc::CpuOveruseObserver implementation. 68 // webrtc::CpuOveruseObserver implementation.
69 void OveruseDetected() override; 69 void OveruseDetected() override;
70 void NormalUsage() override; 70 void NormalUsage() override;
71 71
72 typedef std::map<uint32_t, RtpState> RtpStateMap; 72 typedef std::map<uint32_t, RtpState> RtpStateMap;
73 RtpStateMap GetRtpStates() const; 73 RtpStateMap GetRtpStates() const;
74 74
75 int64_t GetRtt() const;
76 int GetPaddingNeededBps() const; 75 int GetPaddingNeededBps() const;
77 76
78 private: 77 private:
79 bool SetSendCodec(VideoCodec video_codec); 78 bool SetSendCodec(VideoCodec video_codec);
80 void ConfigureSsrcs(); 79 void ConfigureSsrcs();
81 80
82 SendStatisticsProxy stats_proxy_; 81 SendStatisticsProxy stats_proxy_;
83 EncodedFrameCallbackAdapter encoded_frame_proxy_; 82 EncodedFrameCallbackAdapter encoded_frame_proxy_;
84 const VideoSendStream::Config config_; 83 const VideoSendStream::Config config_;
85 VideoEncoderConfig encoder_config_; 84 VideoEncoderConfig encoder_config_;
(...skipping 10 matching lines...) Expand all
96 ViEChannel vie_channel_; 95 ViEChannel vie_channel_;
97 ViEReceiver* const vie_receiver_; 96 ViEReceiver* const vie_receiver_;
98 ViEEncoder vie_encoder_; 97 ViEEncoder vie_encoder_;
99 VideoCodingModule* const vcm_; 98 VideoCodingModule* const vcm_;
100 VideoCaptureInput input_; 99 VideoCaptureInput input_;
101 }; 100 };
102 } // namespace internal 101 } // namespace internal
103 } // namespace webrtc 102 } // namespace webrtc
104 103
105 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ 104 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/video/send_statistics_proxy.cc ('k') | webrtc/video/video_send_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698