Lines Matching refs:media_channel
170 MediaChannel* media_channel, in BaseChannel() argument
176 media_channel_(media_channel), in BaseChannel()
401 Bind(&MediaChannel::AddSendStream, media_channel(), sp)); in AddSendStream()
406 Bind(&MediaChannel::RemoveSendStream, media_channel(), ssrc)); in RemoveSendStream()
1137 return media_channel()->AddRecvStream(sp); in AddRecvStream_w()
1142 return media_channel()->RemoveRecvStream(ssrc); in RemoveRecvStream_w()
1159 if (media_channel()->AddSendStream(*it)) { in UpdateLocalStreams_w()
1169 if (!media_channel()->RemoveSendStream(existing_stream->first_ssrc())) { in UpdateLocalStreams_w()
1190 if (!media_channel()->RemoveSendStream(it->first_ssrc())) { in UpdateLocalStreams_w()
1203 if (media_channel()->AddSendStream(*it)) { in UpdateLocalStreams_w()
1332 VoiceMediaChannel* media_channel, in VoiceChannel() argument
1337 media_channel, in VoiceChannel()
1363 return InvokeOnWorker(Bind(&VoiceMediaChannel::SetAudioSend, media_channel(), in SetAudioSend()
1385 media_channel())); in CanInsertDtmf()
1397 media_channel(), ssrc, volume)); in SetOutputVolume()
1406 InvokeOnWorker(Bind(&SetRawAudioSink_w, media_channel(), ssrc, &sink)); in SetRawAudioSink()
1411 media_channel(), stats)); in GetStats()
1415 media_monitor_.reset(new VoiceMediaMonitor(media_channel(), worker_thread(), in StartMediaMonitor()
1453 return media_channel()->GetOutputLevel(); in GetOutputLevel_w()
1457 media_channel()->GetActiveStreams(actives); in GetActiveStreams_w()
1477 media_channel()->SetPlayout(recv); in ChangeState()
1483 if (!media_channel()->SetSend(send_flag)) { in ChangeState()
1516 if (!media_channel()->SetRecvParameters(recv_params)) { in SetLocalContent_w()
1564 if (!media_channel()->SetSendParameters(send_params)) { in SetRemoteContent_w()
1603 return media_channel()->InsertDtmf(ssrc, event, duration); in InsertDtmf_w()
1629 VoiceMediaChannel* media_channel, const VoiceMediaInfo& info) { in OnMediaMonitorUpdate() argument
1630 ASSERT(media_channel == this->media_channel()); in OnMediaMonitorUpdate()
1644 VideoMediaChannel* media_channel, in VideoChannel() argument
1649 media_channel, in VideoChannel()
1684 &VideoMediaChannel::SetRenderer, media_channel(), ssrc, renderer)); in SetRenderer()
1699 media_channel(), ssrc, capturer)); in SetCapturer()
1712 &VideoMediaChannel::SendIntraFrame, media_channel())); in SendIntraFrame()
1718 &VideoMediaChannel::RequestIntraFrame, media_channel())); in RequestIntraFrame()
1725 return InvokeOnWorker(Bind(&VideoMediaChannel::SetVideoSend, media_channel(), in SetVideoSend()
1733 if (!media_channel()->SetSend(send)) { in ChangeState()
1743 Bind(&VideoMediaChannel::GetStats, media_channel(), stats)); in GetStats()
1747 media_monitor_.reset(new VideoMediaMonitor(media_channel(), worker_thread(), in StartMediaMonitor()
1787 if (!media_channel()->SetRecvParameters(recv_params)) { in SetLocalContent_w()
1836 if (!media_channel()->SetSendParameters(send_params)) { in SetRemoteContent_w()
1880 ret &= media_channel()->SetSendStreamFormat(it->first_ssrc(), format); in ApplyViewRequest_w()
1957 VideoMediaChannel* media_channel, const VideoMediaInfo &info) { in OnMediaMonitorUpdate() argument
1958 ASSERT(media_channel == this->media_channel()); in OnMediaMonitorUpdate()
2009 DataMediaChannel* media_channel, in DataChannel() argument
2014 media_channel, in DataChannel()
2033 media_channel()->SignalDataReceived.connect( in Init()
2035 media_channel()->SignalReadyToSend.connect( in Init()
2037 media_channel()->SignalStreamClosedRemotely.connect( in Init()
2046 media_channel(), params, payload, result)); in SendData()
2126 if (!media_channel()->SetRecvParameters(recv_params)) { in SetLocalContent_w()
2185 if (!media_channel()->SetSendParameters(send_params)) { in SetRemoteContent_w()
2211 if (!media_channel()->SetReceive(recv)) { in ChangeState()
2218 if (!media_channel()->SetSend(send)) { in ChangeState()
2270 media_monitor_.reset(new DataMediaMonitor(media_channel(), worker_thread(), in StartMediaMonitor()
2286 DataMediaChannel* media_channel, const DataMediaInfo& info) { in OnMediaMonitorUpdate() argument
2287 ASSERT(media_channel == this->media_channel()); in OnMediaMonitorUpdate()