pRevert 5371 "Revert 5367 "Update talk to 59410372.""
> Revert 5367 "Update talk to 59410372." > > > Update talk to 59410372. > > > > R=jiayl@webrtc.org, wu@webrtc.org > > > > Review URL: https://webrtc-codereview.appspot.com/6929004 > > TBR=mallinath@webrtc.org > > Review URL: https://webrtc-codereview.appspot.com/6999004 TBR=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/7109004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5381 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -65,10 +65,6 @@ const int PHASE_SSLTCP = 3;
|
||||
|
||||
const int kNumPhases = 4;
|
||||
|
||||
// Both these values are in bytes.
|
||||
const int kLargeSocketSendBufferSize = 128 * 1024;
|
||||
const int kNormalSocketSendBufferSize = 64 * 1024;
|
||||
|
||||
const int SHAKE_MIN_DELAY = 45 * 1000; // 45 seconds
|
||||
const int SHAKE_MAX_DELAY = 90 * 1000; // 90 seconds
|
||||
|
||||
@@ -490,16 +486,6 @@ void BasicPortAllocatorSession::AddAllocatedPort(Port* port,
|
||||
port->set_send_retransmit_count_attribute((allocator_->flags() &
|
||||
PORTALLOCATOR_ENABLE_STUN_RETRANSMIT_ATTRIBUTE) != 0);
|
||||
|
||||
if (content_name().compare(CN_VIDEO) == 0 &&
|
||||
component_ == cricket::ICE_CANDIDATE_COMPONENT_RTP) {
|
||||
// For video RTP alone, we set send-buffer sizes. This used to be set in the
|
||||
// engines/channels.
|
||||
int sendBufSize = (flags() & PORTALLOCATOR_USE_LARGE_SOCKET_SEND_BUFFERS)
|
||||
? kLargeSocketSendBufferSize
|
||||
: kNormalSocketSendBufferSize;
|
||||
port->SetOption(talk_base::Socket::OPT_SNDBUF, sendBufSize);
|
||||
}
|
||||
|
||||
PortData data(port, seq);
|
||||
ports_.push_back(data);
|
||||
|
||||
|
Reference in New Issue
Block a user