OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |