Lines Matching refs:new_tc
298 void BaseChannel::set_transport_channel(TransportChannel* new_tc) { in set_transport_channel() argument
302 if (!old_tc && !new_tc) { in set_transport_channel()
306 ASSERT(old_tc != new_tc); in set_transport_channel()
314 transport_channel_ = new_tc; in set_transport_channel()
316 if (new_tc) { in set_transport_channel()
317 ConnectToTransportChannel(new_tc); in set_transport_channel()
319 new_tc->SetOption(pair.first, pair.second); in set_transport_channel()
326 SetReadyToSend(false, new_tc && new_tc->writable()); in set_transport_channel()
329 void BaseChannel::set_rtcp_transport_channel(TransportChannel* new_tc, in set_rtcp_transport_channel() argument
334 if (!old_tc && !new_tc) { in set_rtcp_transport_channel()
338 ASSERT(old_tc != new_tc); in set_rtcp_transport_channel()
346 rtcp_transport_channel_ = new_tc; in set_rtcp_transport_channel()
348 if (new_tc) { in set_rtcp_transport_channel()
352 ConnectToTransportChannel(new_tc); in set_rtcp_transport_channel()
354 new_tc->SetOption(pair.first, pair.second); in set_rtcp_transport_channel()
362 SetReadyToSend(true, new_tc && new_tc->writable()); in set_rtcp_transport_channel()