summaryrefslogtreecommitdiff
path: root/video_send_stream.h
diff options
context:
space:
mode:
authorhenrik.lundin@webrtc.org <henrik.lundin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-11-21 14:05:40 +0000
committerhenrik.lundin@webrtc.org <henrik.lundin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-11-21 14:05:40 +0000
commitb9f1eb8f2950c45d8dad97183ceb30c7f04d6f8c (patch)
tree87e3ba8131d2ca24aea050be8384001e1ec95fe7 /video_send_stream.h
parentc3f827c0fae3ab638863a5cf511439bc23ed255e (diff)
downloadwebrtc-b9f1eb8f2950c45d8dad97183ceb30c7f04d6f8c.tar.gz
Connect pacer/padding to SuspendBelowMinBitrate
The suspend function must not be engaged unless padding is also enabled. This CL makes the connection so that the pacer and padding is enabled when SuspendBelowMinBitrate is. Had to change the unit test to make it aware of the padding packets. BUG=2606 R=mflodman@webrtc.org, pbos@webrtc.org, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/4089004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5153 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'video_send_stream.h')
-rw-r--r--video_send_stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video_send_stream.h b/video_send_stream.h
index 11a37ae1..85d7519c 100644
--- a/video_send_stream.h
+++ b/video_send_stream.h
@@ -145,6 +145,8 @@ class VideoSendStream {
// True if the stream should be suspended when the available bitrate fall
// below the minimum configured bitrate. If this variable is false, the
// stream may send at a rate higher than the estimated available bitrate.
+ // Enabling suspend_below_min_bitrate will also enable pacing and padding,
+ // otherwise, the video will be unable to recover from suspension.
bool suspend_below_min_bitrate;
};