Index: talk/app/webrtc/webrtcsession.cc |
diff --git a/talk/app/webrtc/webrtcsession.cc b/talk/app/webrtc/webrtcsession.cc |
index a3ff934dbc00c244dd4453922fe73dad68c9a431..ce4aabfe30c703fd57f9a99e577fb27ff6afe348 100644 |
--- a/talk/app/webrtc/webrtcsession.cc |
+++ b/talk/app/webrtc/webrtcsession.cc |
@@ -1432,6 +1432,16 @@ void WebRtcSession::SetIceConnectionReceiving(bool receiving) { |
} |
} |
+void WebRtcSession::SetIceConnectionReceivingTimeout(int timeout_ms) { |
+ for (const auto& kv : transport_proxies()) { |
+ cricket::Transport* transport = kv.second->impl(); |
+ if (transport && transport->HasChannels()) { |
+ transport->SetChannelReceivingTimeout(timeout_ms); |
pthatcher1
2015/07/09 22:21:41
We should pass down the value to each Transport ev
honghaiz3
2015/08/05 23:57:39
Done.
|
+ } |
+ } |
pthatcher1
2015/07/09 22:21:41
I think we need to store the value and then apply
honghaiz3
2015/08/05 23:57:39
Done.
|
+} |
+ |
+ |
void WebRtcSession::OnTransportProxyCandidatesReady( |
cricket::TransportProxy* proxy, const cricket::Candidates& candidates) { |
ASSERT(signaling_thread()->IsCurrent()); |