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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 int target_delay_ms = 0; | 195 int target_delay_ms = 0; |
196 | 196 |
197 // True if the stream should be suspended when the available bitrate fall | 197 // True if the stream should be suspended when the available bitrate fall |
198 // below the minimum configured bitrate. If this variable is false, the | 198 // below the minimum configured bitrate. If this variable is false, the |
199 // stream may send at a rate higher than the estimated available bitrate. | 199 // stream may send at a rate higher than the estimated available bitrate. |
200 bool suspend_below_min_bitrate = false; | 200 bool suspend_below_min_bitrate = false; |
201 | 201 |
202 // Enables periodic bandwidth probing in application-limited region. | 202 // Enables periodic bandwidth probing in application-limited region. |
203 bool periodic_alr_bandwidth_probing = false; | 203 bool periodic_alr_bandwidth_probing = false; |
204 | 204 |
| 205 // Track ID as specified during track creation. |
| 206 std::string track_id; |
| 207 |
205 private: | 208 private: |
206 // Access to the copy constructor is private to force use of the Copy() | 209 // Access to the copy constructor is private to force use of the Copy() |
207 // method for those exceptional cases where we do use it. | 210 // method for those exceptional cases where we do use it. |
208 Config(const Config&) = default; | 211 Config(const Config&) = default; |
209 }; | 212 }; |
210 | 213 |
211 // Starts stream activity. | 214 // Starts stream activity. |
212 // When a stream is active, it can receive, process and deliver packets. | 215 // When a stream is active, it can receive, process and deliver packets. |
213 virtual void Start() = 0; | 216 virtual void Start() = 0; |
214 // Stops stream activity. | 217 // Stops stream activity. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); | 262 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); |
260 } | 263 } |
261 | 264 |
262 protected: | 265 protected: |
263 virtual ~VideoSendStream() {} | 266 virtual ~VideoSendStream() {} |
264 }; | 267 }; |
265 | 268 |
266 } // namespace webrtc | 269 } // namespace webrtc |
267 | 270 |
268 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ | 271 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ |
OLD | NEW |