(Auto)update libjingle 78642371-> 78680406
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7545 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
a296725d0e
commit
ae694effd8
@ -783,10 +783,7 @@ class VideoMediaChannelTest : public testing::Test,
|
||||
void SetSendSetsTransportBufferSizes() {
|
||||
EXPECT_TRUE(SetOneCodec(DefaultCodec()));
|
||||
EXPECT_TRUE(SetSend(true));
|
||||
// TODO(sriniv): Remove or re-enable this.
|
||||
// As part of b/8030474, send-buffer is size now controlled through
|
||||
// portallocator flags. Its not set by channels.
|
||||
// EXPECT_EQ(64 * 1024, network_interface_.sendbuf_size());
|
||||
EXPECT_EQ(64 * 1024, network_interface_.sendbuf_size());
|
||||
EXPECT_EQ(64 * 1024, network_interface_.recvbuf_size());
|
||||
}
|
||||
// Tests that we can send frames and the right payload type is used.
|
||||
|
@ -3109,12 +3109,13 @@ void WebRtcVideoMediaChannel::SetInterface(NetworkInterface* iface) {
|
||||
rtc::Socket::OPT_RCVBUF,
|
||||
kVideoRtpBufferSize);
|
||||
|
||||
// TODO(sriniv): Remove or re-enable this.
|
||||
// As part of b/8030474, send-buffer is size now controlled through
|
||||
// portallocator flags.
|
||||
// network_interface_->SetOption(NetworkInterface::ST_RTP,
|
||||
// rtc::Socket::OPT_SNDBUF,
|
||||
// kVideoRtpBufferSize);
|
||||
// Speculative change to increase the outbound socket buffer size.
|
||||
// In b/15152257, we are seeing a significant number of packets discarded
|
||||
// due to lack of socket buffer space, although it's not yet clear what the
|
||||
// ideal value should be.
|
||||
MediaChannel::SetOption(NetworkInterface::ST_RTP,
|
||||
rtc::Socket::OPT_SNDBUF,
|
||||
kVideoRtpBufferSize);
|
||||
}
|
||||
|
||||
void WebRtcVideoMediaChannel::UpdateAspectRatio(int ratio_w, int ratio_h) {
|
||||
|
@ -1294,12 +1294,13 @@ void WebRtcVideoChannel2::SetInterface(NetworkInterface* iface) {
|
||||
rtc::Socket::OPT_RCVBUF,
|
||||
kVideoRtpBufferSize);
|
||||
|
||||
// TODO(sriniv): Remove or re-enable this.
|
||||
// As part of b/8030474, send-buffer is size now controlled through
|
||||
// portallocator flags.
|
||||
// network_interface_->SetOption(NetworkInterface::ST_RTP,
|
||||
// rtc::Socket::OPT_SNDBUF,
|
||||
// kVideoRtpBufferSize);
|
||||
// Speculative change to increase the outbound socket buffer size.
|
||||
// In b/15152257, we are seeing a significant number of packets discarded
|
||||
// due to lack of socket buffer space, although it's not yet clear what the
|
||||
// ideal value should be.
|
||||
MediaChannel::SetOption(NetworkInterface::ST_RTP,
|
||||
rtc::Socket::OPT_SNDBUF,
|
||||
kVideoRtpBufferSize);
|
||||
}
|
||||
|
||||
void WebRtcVideoChannel2::UpdateAspectRatio(int ratio_w, int ratio_h) {
|
||||
|
Loading…
Reference in New Issue
Block a user