| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 bool suspended = false; | 75 bool suspended = false; |
| 76 bool bw_limited_resolution = false; | 76 bool bw_limited_resolution = false; |
| 77 bool cpu_limited_resolution = false; | 77 bool cpu_limited_resolution = false; |
| 78 bool bw_limited_framerate = false; | 78 bool bw_limited_framerate = false; |
| 79 bool cpu_limited_framerate = false; | 79 bool cpu_limited_framerate = false; |
| 80 // Total number of times resolution as been requested to be changed due to | 80 // Total number of times resolution as been requested to be changed due to |
| 81 // CPU/quality adaptation. | 81 // CPU/quality adaptation. |
| 82 int number_of_cpu_adapt_changes = 0; | 82 int number_of_cpu_adapt_changes = 0; |
| 83 int number_of_quality_adapt_changes = 0; | 83 int number_of_quality_adapt_changes = 0; |
| 84 std::map<uint32_t, StreamStats> substreams; | 84 std::map<uint32_t, StreamStats> substreams; |
| 85 webrtc::VideoContentType content_type = |
| 86 webrtc::VideoContentType::UNSPECIFIED; |
| 85 }; | 87 }; |
| 86 | 88 |
| 87 struct Config { | 89 struct Config { |
| 88 public: | 90 public: |
| 89 Config() = delete; | 91 Config() = delete; |
| 90 Config(Config&&); | 92 Config(Config&&); |
| 91 explicit Config(Transport* send_transport); | 93 explicit Config(Transport* send_transport); |
| 92 | 94 |
| 93 Config& operator=(Config&&); | 95 Config& operator=(Config&&); |
| 94 Config& operator=(const Config&) = delete; | 96 Config& operator=(const Config&) = delete; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); | 277 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); |
| 276 } | 278 } |
| 277 | 279 |
| 278 protected: | 280 protected: |
| 279 virtual ~VideoSendStream() {} | 281 virtual ~VideoSendStream() {} |
| 280 }; | 282 }; |
| 281 | 283 |
| 282 } // namespace webrtc | 284 } // namespace webrtc |
| 283 | 285 |
| 284 #endif // WEBRTC_CALL_VIDEO_SEND_STREAM_H_ | 286 #endif // WEBRTC_CALL_VIDEO_SEND_STREAM_H_ |
| OLD | NEW |