Home
last modified time | relevance | path

Searched refs:RtpDataChannel (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/pc/
Drtp_data_channel.cc67 rtc::scoped_refptr<RtpDataChannel> RtpDataChannel::Create( in Create()
72 rtc::scoped_refptr<RtpDataChannel> channel( in Create()
73 new rtc::RefCountedObject<RtpDataChannel>(config, provider, label, in Create()
82 rtc::scoped_refptr<DataChannelInterface> RtpDataChannel::CreateProxy( in CreateProxy()
83 rtc::scoped_refptr<RtpDataChannel> channel) { in CreateProxy()
87 RtpDataChannel::RtpDataChannel(const DataChannelInit& config, in RtpDataChannel() function in webrtc::RtpDataChannel
99 bool RtpDataChannel::Init() { in Init()
111 RtpDataChannel::~RtpDataChannel() { in ~RtpDataChannel()
115 void RtpDataChannel::RegisterObserver(DataChannelObserver* observer) { in RegisterObserver()
121 void RtpDataChannel::UnregisterObserver() { in UnregisterObserver()
[all …]
Ddata_channel_controller.h45 bool ConnectDataChannel(RtpDataChannel* webrtc_data_channel) override;
46 void DisconnectDataChannel(RtpDataChannel* webrtc_data_channel) override;
102 cricket::RtpDataChannel* rtp_data_channel() const { in rtp_data_channel()
105 void set_rtp_data_channel(cricket::RtpDataChannel* channel) { in set_rtp_data_channel()
110 const std::map<std::string, rtc::scoped_refptr<RtpDataChannel>>*
113 sigslot::signal1<RtpDataChannel*>& SignalRtpDataChannelCreated() { in SignalRtpDataChannelCreated()
127 rtc::scoped_refptr<RtpDataChannel> InternalCreateRtpDataChannel(
190 cricket::RtpDataChannel* rtp_data_channel_ = nullptr;
201 std::map<std::string, rtc::scoped_refptr<RtpDataChannel>> rtp_data_channels_
219 sigslot::signal1<RtpDataChannel*> SignalRtpDataChannelCreated_
Drtp_data_channel.h29 class RtpDataChannel; variable
41 virtual bool ConnectDataChannel(RtpDataChannel* data_channel) = 0;
43 virtual void DisconnectDataChannel(RtpDataChannel* data_channel) = 0;
65 class RtpDataChannel : public DataChannelInterface,
68 static rtc::scoped_refptr<RtpDataChannel> Create(
77 rtc::scoped_refptr<RtpDataChannel> channel);
159 RtpDataChannel(const DataChannelInit& config,
163 ~RtpDataChannel() override;
Ddata_channel_controller.cc37 RtpDataChannel* webrtc_data_channel) { in ConnectDataChannel()
46 webrtc_data_channel, &RtpDataChannel::OnChannelReady); in ConnectDataChannel()
48 webrtc_data_channel, &RtpDataChannel::OnDataReceived); in ConnectDataChannel()
53 RtpDataChannel* webrtc_data_channel) { in DisconnectDataChannel()
291 rtc::scoped_refptr<RtpDataChannel> channel = in InternalCreateDataChannelWithProxy()
294 return RtpDataChannel::CreateProxy(channel); in InternalCreateDataChannelWithProxy()
301 rtc::scoped_refptr<RtpDataChannel>
307 rtc::scoped_refptr<RtpDataChannel> channel( in InternalCreateRtpDataChannel()
308 RtpDataChannel::Create(this, label, new_config, signaling_thread())); in InternalCreateRtpDataChannel()
404 std::map<std::string, rtc::scoped_refptr<RtpDataChannel>> temp_rtp_dcs; in OnTransportChannelClosed()
[all …]
Dchannel_manager.cc325 RtpDataChannel* ChannelManager::CreateRtpDataChannel( in CreateRtpDataChannel()
334 return worker_thread_->Invoke<RtpDataChannel*>(RTC_FROM_HERE, [&] { in CreateRtpDataChannel()
349 auto data_channel = std::make_unique<RtpDataChannel>( in CreateRtpDataChannel()
357 RtpDataChannel* data_channel_ptr = data_channel.get(); in CreateRtpDataChannel()
362 void ChannelManager::DestroyRtpDataChannel(RtpDataChannel* data_channel) { in DestroyRtpDataChannel()
376 [&](const std::unique_ptr<RtpDataChannel>& p) { in DestroyRtpDataChannel()
Dchannel.cc1201 RtpDataChannel::RtpDataChannel(rtc::Thread* worker_thread, in RtpDataChannel() function in cricket::RtpDataChannel
1218 RtpDataChannel::~RtpDataChannel() { in ~RtpDataChannel()
1225 void RtpDataChannel::Init_w(webrtc::RtpTransportInternal* rtp_transport) { in Init_w()
1228 &RtpDataChannel::OnDataReceived); in Init_w()
1230 this, &RtpDataChannel::OnDataChannelReadyToSend); in Init_w()
1233 bool RtpDataChannel::SendData(const SendDataParams& params, in SendData()
1241 bool RtpDataChannel::CheckDataChannelTypeFromContent( in CheckDataChannelTypeFromContent()
1256 bool RtpDataChannel::SetLocalContent_w(const MediaContentDescription* content, in SetLocalContent_w()
1318 bool RtpDataChannel::SetRemoteContent_w(const MediaContentDescription* content, in SetRemoteContent_w()
1378 void RtpDataChannel::UpdateMediaSendRecvState_w() { in UpdateMediaSendRecvState_w()
[all …]
Dchannel_manager.h129 RtpDataChannel* CreateRtpDataChannel(
138 void DestroyRtpDataChannel(RtpDataChannel* data_channel);
174 std::vector<std::unique_ptr<RtpDataChannel>> data_channels_;
Dpeer_connection_internal.h45 virtual sigslot::signal1<RtpDataChannel*>& SignalRtpDataChannelCreated() = 0;
50 virtual cricket::RtpDataChannel* rtp_data_channel() const = 0;
Dchannel.h411 class RtpDataChannel : public BaseChannel {
413 RtpDataChannel(rtc::Thread* worker_thread,
421 ~RtpDataChannel();
Dchannel_manager_unittest.cc87 cricket::RtpDataChannel* rtp_data_channel = cm_->CreateRtpDataChannel( in TestCreateDestroyChannels()
Drtc_stats_collector.h229 void OnRtpDataChannelCreated(RtpDataChannel* channel);
Dpeer_connection.h275 sigslot::signal1<RtpDataChannel*>& SignalRtpDataChannelCreated() override { in SignalRtpDataChannelCreated()
283 cricket::RtpDataChannel* rtp_data_channel() const override { in rtp_data_channel()
Dchannel_unittest.cc96 class DataTraits : public Traits<cricket::RtpDataChannel,
2292 std::unique_ptr<cricket::RtpDataChannel> ChannelTest<DataTraits>::CreateChannel( in CreateChannel()
2299 auto channel = std::make_unique<cricket::RtpDataChannel>( in CreateChannel()
Dpeer_connection.cc218 const std::map<std::string, rtc::scoped_refptr<RtpDataChannel>>& in AddRtpDataChannelOptions()
226 const RtpDataChannel* channel = kv.second; in AddRtpDataChannelOptions()
227 if (channel->state() == RtpDataChannel::kConnecting || in AddRtpDataChannelOptions()
228 channel->state() == RtpDataChannel::kOpen) { in AddRtpDataChannelOptions()
7160 static_cast<cricket::RtpDataChannel*>(channel)); in DestroyChannelInterface()
Drtc_stats_collector.cc2026 void RTCStatsCollector::OnRtpDataChannelCreated(RtpDataChannel* channel) { in OnRtpDataChannelCreated()
/external/webrtc/pc/test/
Dfake_peer_connection_base.h251 sigslot::signal1<RtpDataChannel*>& SignalRtpDataChannelCreated() override { in SignalRtpDataChannelCreated()
259 cricket::RtpDataChannel* rtp_data_channel() const override { return nullptr; } in rtp_data_channel()
301 sigslot::signal1<RtpDataChannel*> SignalRtpDataChannelCreated_;