Home
last modified time | relevance | path

Searched refs:DataChannel (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/talk/app/webrtc/
Ddatachannel.cc83 DataChannel::PacketQueue::PacketQueue() : byte_count_(0) {} in PacketQueue()
85 DataChannel::PacketQueue::~PacketQueue() { in ~PacketQueue()
89 bool DataChannel::PacketQueue::Empty() const { in Empty()
93 DataBuffer* DataChannel::PacketQueue::Front() { in Front()
97 void DataChannel::PacketQueue::Pop() { in Pop()
106 void DataChannel::PacketQueue::Push(DataBuffer* packet) { in Push()
111 void DataChannel::PacketQueue::Clear() { in Clear()
119 void DataChannel::PacketQueue::Swap(PacketQueue* other) { in Swap()
127 rtc::scoped_refptr<DataChannel> DataChannel::Create( in Create()
132 rtc::scoped_refptr<DataChannel> channel( in Create()
[all …]
Ddatachannel.h45 class DataChannel; variable
54 virtual bool ConnectDataChannel(DataChannel* data_channel) = 0;
56 virtual void DisconnectDataChannel(DataChannel* data_channel) = 0;
124 class DataChannel : public DataChannelInterface,
128 static rtc::scoped_refptr<DataChannel> Create(
161 void OnDataReceived(cricket::DataChannel* channel,
197 sigslot::signal1<DataChannel*> SignalClosed;
200 DataChannel(DataChannelProviderInterface* client,
203 virtual ~DataChannel();
280 BEGIN_PROXY_MAP(DataChannel)
Ddatachannel_unittest.cc33 using webrtc::DataChannel;
85 DataChannel::Create( in SctpDataChannelTest()
106 rtc::scoped_refptr<DataChannel> webrtc_data_channel_;
112 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
238 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
252 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
282 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
382 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
398 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
Dpeerconnection.h137 virtual const std::vector<rtc::scoped_refptr<DataChannel>>&
305 rtc::scoped_refptr<DataChannel> InternalCreateDataChannel(
313 void OnSctpDataChannelClosed(DataChannel* channel);
340 DataChannel* FindDataChannelBySid(int sid) const;
375 std::map<std::string, rtc::scoped_refptr<DataChannel>> rtp_data_channels_;
376 std::vector<rtc::scoped_refptr<DataChannel>> sctp_data_channels_;
377 std::vector<rtc::scoped_refptr<DataChannel>> sctp_data_channels_to_free_;
Dwebrtcsession.h50 class DataChannel; variable
199 virtual cricket::DataChannel* data_channel() { in data_channel()
279 bool ConnectDataChannel(DataChannel* webrtc_data_channel) override;
280 void DisconnectDataChannel(DataChannel* webrtc_data_channel) override;
418 void OnDataChannelMessageReceived(cricket::DataChannel* channel,
485 rtc::scoped_ptr<cricket::DataChannel> data_channel_;
Dpeerconnection.cc63 using webrtc::DataChannel;
369 const std::map<std::string, rtc::scoped_refptr<DataChannel>>& in AddSendStreams()
379 const DataChannel* channel = kv.second; in AddSendStreams()
380 if (channel->state() == DataChannel::kConnecting || in AddSendStreams()
381 channel->state() == DataChannel::kOpen) { in AddSendStreams()
1792 DataChannel* data_channel = it->second; in UpdateClosingRtpDataChannels()
1805 if (data_channel->state() == DataChannel::kClosed) { in UpdateClosingRtpDataChannels()
1816 rtc::scoped_refptr<DataChannel> channel( in CreateRemoteRtpDataChannel()
1828 rtc::scoped_refptr<DataChannel> PeerConnection::InternalCreateDataChannel( in InternalCreateDataChannel()
1856 rtc::scoped_refptr<DataChannel> channel(DataChannel::Create( in InternalCreateDataChannel()
[all …]
Dwebrtcsession.cc1444 bool WebRtcSession::ConnectDataChannel(DataChannel* webrtc_data_channel) { in ConnectDataChannel()
1450 &DataChannel::OnChannelReady); in ConnectDataChannel()
1452 &DataChannel::OnDataReceived); in ConnectDataChannel()
1454 webrtc_data_channel, &DataChannel::OnStreamClosedRemotely); in ConnectDataChannel()
1458 void WebRtcSession::DisconnectDataChannel(DataChannel* webrtc_data_channel) { in DisconnectDataChannel()
1898 cricket::DataChannel* channel, in OnDataChannelMessageReceived()
Dstatscollector_unittest.cc118 const std::vector<rtc::scoped_refptr<DataChannel>>&());
587 data_channels_.push_back(DataChannel::Create( in AddDataChannel()
771 std::vector<rtc::scoped_refptr<DataChannel>> data_channels_;
Dwebrtcsession_unittest.cc83 using webrtc::DataChannel;
1370 data_channel_ = DataChannel::Create( in CreateDataChannel()
1472 rtc::scoped_refptr<DataChannel> data_channel_;
3945 cricket::DataChannel* data_channel = session_->data_channel(); in TEST_P()
/external/webrtc/talk/app/webrtc/test/
Dfakedatachannelprovider.h60 bool ConnectDataChannel(webrtc::DataChannel* data_channel) override { in ConnectDataChannel()
70 void DisconnectDataChannel(webrtc::DataChannel* data_channel) override { in DisconnectDataChannel()
101 for (webrtc::DataChannel *ch : std::set<webrtc::DataChannel*>( in set_send_blocked()
122 std::set<webrtc::DataChannel*>::iterator it; in set_ready_to_send()
139 bool IsConnected(webrtc::DataChannel* data_channel) const { in IsConnected()
157 std::set<webrtc::DataChannel*> connected_channels_;
/external/webrtc/talk/app/webrtc/java/testcommon/src/org/webrtc/
DPeerConnectionTest.java58 DataChannel.Observer,
81 private DataChannel dataChannel;
82 private LinkedList<DataChannel.Buffer> expectedBuffers =
83 new LinkedList<DataChannel.Buffer>();
84 private LinkedList<DataChannel.State> expectedStateChanges =
85 new LinkedList<DataChannel.State>();
96 public synchronized void setDataChannel(DataChannel dataChannel) { in setDataChannel()
237 public synchronized void onDataChannel(DataChannel remoteDataChannel) { in onDataChannel()
241 assertEquals(DataChannel.State.CONNECTING, dataChannel.state()); in onDataChannel()
256 new DataChannel.Buffer(expectedBuffer, expectedBinary)); in expectMessage()
[all …]
/external/webrtc/talk/session/media/
Dchannelmanager.h118 DataChannel* CreateDataChannel(TransportController* transport_controller,
123 void DestroyDataChannel(DataChannel* data_channel);
182 typedef std::vector<DataChannel*> DataChannels;
205 DataChannel* CreateDataChannel_w(TransportController* transport_controller,
209 void DestroyDataChannel_w(DataChannel* data_channel);
Dchannel.cc2008 DataChannel::DataChannel(rtc::Thread* thread, in DataChannel() function in cricket::DataChannel
2021 DataChannel::~DataChannel() { in ~DataChannel()
2029 bool DataChannel::Init() { in Init()
2034 this, &DataChannel::OnDataReceived); in Init()
2036 this, &DataChannel::OnDataChannelReadyToSend); in Init()
2038 this, &DataChannel::OnStreamClosedRemotely); in Init()
2042 bool DataChannel::SendData(const SendDataParams& params, in SendData()
2049 const ContentInfo* DataChannel::GetFirstContent( in GetFirstContent()
2054 bool DataChannel::WantsPacket(bool rtcp, rtc::Buffer* packet) { in WantsPacket()
2065 bool DataChannel::SetDataChannelType(DataChannelType new_data_channel_type, in SetDataChannelType()
[all …]
Dchannelmanager.cc367 DataChannel* ChannelManager::CreateDataChannel( in CreateDataChannel()
372 return worker_thread_->Invoke<DataChannel*>( in CreateDataChannel()
377 DataChannel* ChannelManager::CreateDataChannel_w( in CreateDataChannel_w()
392 DataChannel* data_channel = new DataChannel( in CreateDataChannel_w()
403 void ChannelManager::DestroyDataChannel(DataChannel* data_channel) { in DestroyDataChannel()
411 void ChannelManager::DestroyDataChannel_w(DataChannel* data_channel) { in DestroyDataChannel_w()
Dchannel.h531 class DataChannel : public BaseChannel {
533 DataChannel(rtc::Thread* thread,
538 ~DataChannel();
553 sigslot::signal2<DataChannel*, const DataMediaInfo&> SignalMediaMonitor;
554 sigslot::signal2<DataChannel*, const std::vector<ConnectionInfo>&>
556 sigslot::signal3<DataChannel*, const ReceiveDataParams&, const rtc::Buffer&>
Dchannelmanager_unittest.cc128 cricket::DataChannel* data_channel = cm_->CreateDataChannel( in TEST_F()
153 cricket::DataChannel* data_channel = cm_->CreateDataChannel( in TEST_F()
180 cricket::DataChannel* data_channel = cm_->CreateDataChannel( in TEST_F()
Dchannel_unittest.cc111 class DataTraits : public Traits<cricket::DataChannel,
2583 cricket::DataChannel* ChannelTest<DataTraits>::CreateChannel( in CreateChannel()
2589 cricket::DataChannel* channel = new cricket::DataChannel( in CreateChannel()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DDataChannel.java33 public class DataChannel { class
98 public DataChannel(long nativeDataChannel) { in DataChannel() method in DataChannel
DPeerConnection.java85 public void onDataChannel(DataChannel dataChannel); in onDataChannel()
191 public native DataChannel createDataChannel( in createDataChannel()
192 String label, DataChannel.Init init); in createDataChannel()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DPeerConnectionClient.java21 import org.webrtc.DataChannel;
994 public void onDataChannel(final DataChannel dc) { in onDataChannel()
/external/webrtc/talk/
Dlibjingle.gyp152 'app/webrtc/java/src/org/webrtc/DataChannel.java',