• Home
  • Raw
  • Download

Lines Matching refs:BaseChannel

169 BaseChannel::BaseChannel(rtc::Thread* thread,  in BaseChannel()  function in cricket::BaseChannel
196 BaseChannel::~BaseChannel() { in ~BaseChannel()
221 bool BaseChannel::Init() { in Init()
240 void BaseChannel::Deinit() { in Deinit()
244 bool BaseChannel::SetTransport(const std::string& transport_name) { in SetTransport()
246 Bind(&BaseChannel::SetTransport_w, this, transport_name)); in SetTransport()
249 bool BaseChannel::SetTransport_w(const std::string& transport_name) { in SetTransport_w()
298 void BaseChannel::set_transport_channel(TransportChannel* new_tc) { in set_transport_channel()
329 void BaseChannel::set_rtcp_transport_channel(TransportChannel* new_tc, in set_rtcp_transport_channel()
366 void BaseChannel::ConnectToTransportChannel(TransportChannel* tc) { in ConnectToTransportChannel()
369 tc->SignalWritableState.connect(this, &BaseChannel::OnWritableState); in ConnectToTransportChannel()
370 tc->SignalReadPacket.connect(this, &BaseChannel::OnChannelRead); in ConnectToTransportChannel()
371 tc->SignalReadyToSend.connect(this, &BaseChannel::OnReadyToSend); in ConnectToTransportChannel()
372 tc->SignalDtlsState.connect(this, &BaseChannel::OnDtlsState); in ConnectToTransportChannel()
375 void BaseChannel::DisconnectFromTransportChannel(TransportChannel* tc) { in DisconnectFromTransportChannel()
384 bool BaseChannel::Enable(bool enable) { in Enable()
386 enable ? &BaseChannel::EnableMedia_w : &BaseChannel::DisableMedia_w, in Enable()
391 bool BaseChannel::AddRecvStream(const StreamParams& sp) { in AddRecvStream()
392 return InvokeOnWorker(Bind(&BaseChannel::AddRecvStream_w, this, sp)); in AddRecvStream()
395 bool BaseChannel::RemoveRecvStream(uint32_t ssrc) { in RemoveRecvStream()
396 return InvokeOnWorker(Bind(&BaseChannel::RemoveRecvStream_w, this, ssrc)); in RemoveRecvStream()
399 bool BaseChannel::AddSendStream(const StreamParams& sp) { in AddSendStream()
404 bool BaseChannel::RemoveSendStream(uint32_t ssrc) { in RemoveSendStream()
409 bool BaseChannel::SetLocalContent(const MediaContentDescription* content, in SetLocalContent()
413 return InvokeOnWorker(Bind(&BaseChannel::SetLocalContent_w, in SetLocalContent()
417 bool BaseChannel::SetRemoteContent(const MediaContentDescription* content, in SetRemoteContent()
421 return InvokeOnWorker(Bind(&BaseChannel::SetRemoteContent_w, in SetRemoteContent()
425 void BaseChannel::StartConnectionMonitor(int cms) { in StartConnectionMonitor()
432 this, &BaseChannel::OnConnectionMonitorUpdate); in StartConnectionMonitor()
436 void BaseChannel::StopConnectionMonitor() { in StopConnectionMonitor()
443 bool BaseChannel::GetConnectionStats(ConnectionInfos* infos) { in GetConnectionStats()
448 bool BaseChannel::IsReadyToReceive() const { in IsReadyToReceive()
453 bool BaseChannel::IsReadyToSend() const { in IsReadyToSend()
462 bool BaseChannel::SendPacket(rtc::Buffer* packet, in SendPacket()
467 bool BaseChannel::SendRtcp(rtc::Buffer* packet, in SendRtcp()
472 int BaseChannel::SetOption(SocketType type, rtc::Socket::Option opt, in SetOption()
490 void BaseChannel::OnWritableState(TransportChannel* channel) { in OnWritableState()
495 void BaseChannel::OnChannelRead(TransportChannel* channel, in OnChannelRead()
510 void BaseChannel::OnReadyToSend(TransportChannel* channel) { in OnReadyToSend()
515 void BaseChannel::OnDtlsState(TransportChannel* channel, in OnDtlsState()
531 void BaseChannel::SetReadyToSend(bool rtcp, bool ready) { in SetReadyToSend()
549 bool BaseChannel::PacketIsRtcp(const TransportChannel* channel, in PacketIsRtcp()
555 bool BaseChannel::SendPacket(bool rtcp, in SendPacket()
677 bool BaseChannel::WantsPacket(bool rtcp, rtc::Buffer* packet) { in WantsPacket()
693 void BaseChannel::HandlePacket(bool rtcp, rtc::Buffer* packet, in HandlePacket()
759 bool BaseChannel::PushdownLocalDescription( in PushdownLocalDescription()
773 bool BaseChannel::PushdownRemoteDescription( in PushdownRemoteDescription()
787 void BaseChannel::EnableMedia_w() { in EnableMedia_w()
797 void BaseChannel::DisableMedia_w() { in DisableMedia_w()
807 void BaseChannel::UpdateWritableState_w() { in UpdateWritableState_w()
816 void BaseChannel::ChannelWritable_w() { in ChannelWritable_w()
842 void BaseChannel::SignalDtlsSetupFailure_w(bool rtcp) { in SignalDtlsSetupFailure_w()
845 &BaseChannel::SignalDtlsSetupFailure_s, this, rtcp)); in SignalDtlsSetupFailure_w()
848 void BaseChannel::SignalDtlsSetupFailure_s(bool rtcp) { in SignalDtlsSetupFailure_s()
853 bool BaseChannel::SetDtlsSrtpCryptoSuites(TransportChannel* tc, bool rtcp) { in SetDtlsSrtpCryptoSuites()
865 bool BaseChannel::ShouldSetupDtlsSrtp() const { in ShouldSetupDtlsSrtp()
872 bool BaseChannel::SetupDtlsSrtp(bool rtcp_channel) { in SetupDtlsSrtp()
958 void BaseChannel::MaybeSetupDtlsSrtp_w() { in MaybeSetupDtlsSrtp_w()
980 void BaseChannel::ChannelNotWritable_w() { in ChannelNotWritable_w()
990 bool BaseChannel::SetRtpTransportParameters_w( in SetRtpTransportParameters_w()
1018 bool BaseChannel::CheckSrtpConfig(const std::vector<CryptoParams>& cryptos, in CheckSrtpConfig()
1030 bool BaseChannel::SetSrtp_w(const std::vector<CryptoParams>& cryptos, in SetSrtp_w()
1076 void BaseChannel::ActivateRtcpMux() { in ActivateRtcpMux()
1078 &BaseChannel::ActivateRtcpMux_w, this)); in ActivateRtcpMux()
1081 void BaseChannel::ActivateRtcpMux_w() { in ActivateRtcpMux_w()
1089 bool BaseChannel::SetRtcpMux_w(bool enable, ContentAction action, in SetRtcpMux_w()
1135 bool BaseChannel::AddRecvStream_w(const StreamParams& sp) { in AddRecvStream_w()
1140 bool BaseChannel::RemoveRecvStream_w(uint32_t ssrc) { in RemoveRecvStream_w()
1145 bool BaseChannel::UpdateLocalStreams_w(const std::vector<StreamParams>& streams, in UpdateLocalStreams_w()
1217 bool BaseChannel::UpdateRemoteStreams_w( in UpdateRemoteStreams_w()
1292 void BaseChannel::MaybeCacheRtpAbsSendTimeHeaderExtension( in MaybeCacheRtpAbsSendTimeHeaderExtension()
1300 void BaseChannel::OnMessage(rtc::Message *pmsg) { in OnMessage()
1318 void BaseChannel::FlushRtcpMessages() { in FlushRtcpMessages()
1336 : BaseChannel(thread, in VoiceChannel()
1353 if (!BaseChannel::Init()) { in Init()
1464 BaseChannel::OnChannelRead(channel, data, len, packet_time, flags); in OnChannelRead()
1618 BaseChannel::OnMessage(pmsg); in OnMessage()
1648 : BaseChannel(thread, in VideoChannel()
1657 if (!BaseChannel::Init()) { in Init()
1944 BaseChannel::OnMessage(pmsg); in OnMessage()
2013 : BaseChannel(thread, in DataChannel()
2030 if (!BaseChannel::Init()) { in Init()
2060 return BaseChannel::WantsPacket(rtcp, packet); in WantsPacket()
2259 BaseChannel::OnMessage(pmsg); in OnMessage()
2318 return (data_channel_type_ == DCT_RTP) && BaseChannel::ShouldSetupDtlsSrtp(); in ShouldSetupDtlsSrtp()