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