Update libjingle to 59676287
R=wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/7229004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5390 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -290,8 +290,8 @@ void RtpDataMediaChannel::OnPacketReceived(
|
||||
SignalDataReceived(params, data, data_len);
|
||||
}
|
||||
|
||||
bool RtpDataMediaChannel::SetSendBandwidth(bool autobw, int bps) {
|
||||
if (autobw || bps <= 0) {
|
||||
bool RtpDataMediaChannel::SetMaxSendBandwidth(int bps) {
|
||||
if (bps <= 0) {
|
||||
bps = kDataMaxBandwidth;
|
||||
}
|
||||
send_limiter_.reset(new talk_base::RateLimiter(bps / 8, 1.0));
|
||||
|
||||
Reference in New Issue
Block a user