HomeSort by relevance Sort by last modified time
    Searched refs:DataChannel (Results 1 - 20 of 20) sorted by null

  /external/webrtc/talk/app/webrtc/
datachannel.cc 28 #include "talk/app/webrtc/datachannel.h"
83 DataChannel::PacketQueue::PacketQueue() : byte_count_(0) {}
85 DataChannel::PacketQueue::~PacketQueue() {
89 bool DataChannel::PacketQueue::Empty() const {
93 DataBuffer* DataChannel::PacketQueue::Front() {
97 void DataChannel::PacketQueue::Pop() {
106 void DataChannel::PacketQueue::Push(DataBuffer* packet) {
111 void DataChannel::PacketQueue::Clear() {
119 void DataChannel::PacketQueue::Swap(PacketQueue* other) {
127 rtc::scoped_refptr<DataChannel> DataChannel::Create
    [all...]
datachannel.h 45 class DataChannel;
54 virtual bool ConnectDataChannel(DataChannel* data_channel) = 0;
56 virtual void DisconnectDataChannel(DataChannel* data_channel) = 0;
109 // DataChannel is a an implementation of the DataChannelInterface based on
114 // DataChannel states:
124 class DataChannel : public DataChannelInterface,
128 static rtc::scoped_refptr<DataChannel> Create(
160 // Sigslots from cricket::DataChannel
161 void OnDataReceived(cricket::DataChannel* channel,
197 sigslot::signal1<DataChannel*> SignalClosed
    [all...]
datachannel_unittest.cc 28 #include "talk/app/webrtc/datachannel.h"
33 using webrtc::DataChannel;
85 DataChannel::Create(
106 rtc::scoped_refptr<DataChannel> webrtc_data_channel_;
112 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create(
149 // Tests that DataChannel::buffered_amount() is correct after the channel is
232 // Tests that the DataChannel created after transport gets ready can enter OPEN
238 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create
    [all...]
peerconnection.h 137 virtual const std::vector<rtc::scoped_refptr<DataChannel>>&
305 rtc::scoped_refptr<DataChannel> InternalCreateDataChannel(
313 void OnSctpDataChannelClosed(DataChannel* channel);
320 // Called when the cricket::DataChannel receives a message indicating that a
321 // webrtc::DataChannel should be opened.
338 // Returns the specified SCTP DataChannel in sctp_data_channels_,
340 DataChannel* FindDataChannelBySid(int sid) const;
374 // label -> DataChannel
375 std::map<std::string, rtc::scoped_refptr<DataChannel>> rtp_data_channels_;
376 std::vector<rtc::scoped_refptr<DataChannel>> sctp_data_channels_
    [all...]
webrtcsession.h 34 #include "talk/app/webrtc/datachannel.h"
50 class DataChannel;
199 virtual cricket::DataChannel* 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_;
peerconnection.cc 63 using webrtc::DataChannel;
369 const std::map<std::string, rtc::scoped_refptr<DataChannel>>&
379 const DataChannel* channel = kv.second;
380 if (channel->state() == DataChannel::kConnecting ||
381 channel->state() == DataChannel::kOpen) {
382 // |streamid| and |sync_label| are both set to the DataChannel label
848 // Trigger the onRenegotiationNeeded event for every new RTP DataChannel, or
849 // the first SCTP DataChannel.
    [all...]
webrtcsession.cc     [all...]
statscollector_unittest.cc 118 const std::vector<rtc::scoped_refptr<DataChannel>>&());
587 data_channels_.push_back(DataChannel::Create(
771 std::vector<rtc::scoped_refptr<DataChannel>> data_channels_;
    [all...]
webrtcsession_unittest.cc 83 using webrtc::DataChannel;
    [all...]
  /external/webrtc/talk/app/webrtc/test/
fakedatachannelprovider.h 31 #include "talk/app/webrtc/datachannel.h"
60 bool ConnectDataChannel(webrtc::DataChannel* data_channel) override {
65 LOG(LS_INFO) << "DataChannel connected " << data_channel;
70 void DisconnectDataChannel(webrtc::DataChannel* data_channel) override {
72 LOG(LS_INFO) << "DataChannel disconnected " << data_channel;
101 for (webrtc::DataChannel *ch : std::set<webrtc::DataChannel*>(
122 std::set<webrtc::DataChannel*>::iterator it;
139 bool IsConnected(webrtc::DataChannel* data_channel) const {
157 std::set<webrtc::DataChannel*> connected_channels_
    [all...]
  /external/webrtc/talk/app/webrtc/java/testcommon/src/org/webrtc/
PeerConnectionTest.java 58 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) {
97 assertNull(this.dataChannel);
    [all...]
  /external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DataChannel.java 33 public class DataChannel {
61 /** Java version of C++ DataBuffer. The atom of data in a DataChannel. */
98 public DataChannel(long nativeDataChannel) {
PeerConnection.java 84 /** Triggered when a remote peer opens a DataChannel. */
85 public void onDataChannel(DataChannel dataChannel);
191 public native DataChannel createDataChannel(
192 String label, DataChannel.Init init);
  /external/webrtc/talk/session/media/
channelmanager.h 118 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);
channel.cc     [all...]
channelmanager_unittest.cc 128 cricket::DataChannel* data_channel = cm_->CreateDataChannel(
153 cricket::DataChannel* data_channel = cm_->CreateDataChannel(
180 cricket::DataChannel* data_channel = cm_->CreateDataChannel(
channelmanager.cc 367 DataChannel* ChannelManager::CreateDataChannel(
372 return worker_thread_->Invoke<DataChannel*>(
377 DataChannel* ChannelManager::CreateDataChannel_w(
392 DataChannel* data_channel = new DataChannel(
403 void ChannelManager::DestroyDataChannel(DataChannel* data_channel) {
411 void ChannelManager::DestroyDataChannel_w(DataChannel* data_channel) {
channel.h 530 // DataChannel is a specialization for data.
531 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&>
562 // Signal for notifying that the remote side has closed the DataChannel.
channel_unittest.cc 111 class DataTraits : public Traits<cricket::DataChannel,
    [all...]
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
PeerConnectionClient.java 21 import org.webrtc.DataChannel;
    [all...]

Completed in 190 milliseconds