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

Side by Side Diff: webrtc/video_send_stream.h

Issue 2504023002: Implement periodic bandwidth probing in application-limited region. (Closed)
Patch Set: . Created 4 years, 1 month 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
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 177
178 // Target delay in milliseconds. A positive value indicates this stream is 178 // Target delay in milliseconds. A positive value indicates this stream is
179 // used for streaming instead of a real-time call. 179 // used for streaming instead of a real-time call.
180 int target_delay_ms = 0; 180 int target_delay_ms = 0;
181 181
182 // True if the stream should be suspended when the available bitrate fall 182 // True if the stream should be suspended when the available bitrate fall
183 // below the minimum configured bitrate. If this variable is false, the 183 // below the minimum configured bitrate. If this variable is false, the
184 // stream may send at a rate higher than the estimated available bitrate. 184 // stream may send at a rate higher than the estimated available bitrate.
185 bool suspend_below_min_bitrate = false; 185 bool suspend_below_min_bitrate = false;
186 186
187 // Enables periodic bandwidth probing in application-limited region.
188 bool periodic_bandwidth_probing = false;
189
187 private: 190 private:
188 // Access to the copy constructor is private to force use of the Copy() 191 // Access to the copy constructor is private to force use of the Copy()
189 // method for those exceptional cases where we do use it. 192 // method for those exceptional cases where we do use it.
190 Config(const Config&) = default; 193 Config(const Config&) = default;
191 }; 194 };
192 195
193 // Starts stream activity. 196 // Starts stream activity.
194 // When a stream is active, it can receive, process and deliver packets. 197 // When a stream is active, it can receive, process and deliver packets.
195 virtual void Start() = 0; 198 virtual void Start() = 0;
196 // Stops stream activity. 199 // Stops stream activity.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); 235 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0);
233 } 236 }
234 237
235 protected: 238 protected:
236 virtual ~VideoSendStream() {} 239 virtual ~VideoSendStream() {}
237 }; 240 };
238 241
239 } // namespace webrtc 242 } // namespace webrtc
240 243
241 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ 244 #endif // WEBRTC_VIDEO_SEND_STREAM_H_
OLDNEW
« webrtc/video/video_send_stream.cc ('K') | « webrtc/video/video_send_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698