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

  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
datachannel.cc 27 #include "talk/app/webrtc/datachannel.h"
45 talk_base::scoped_refptr<DataChannel> DataChannel::Create(
50 talk_base::scoped_refptr<DataChannel> channel(
51 new talk_base::RefCountedObject<DataChannel>(provider, dct, label));
58 DataChannel::DataChannel(
75 bool DataChannel::Init(const DataChannelInit* config) {
104 // ready signal may have been sent before the DataChannel creation.
116 DataChannel::~DataChannel()
    [all...]
datachannel.h 44 class DataChannel;
53 virtual bool ConnectDataChannel(DataChannel* data_channel) = 0;
55 virtual void DisconnectDataChannel(DataChannel* data_channel) = 0;
67 // DataChannel is a an implementation of the DataChannelInterface based on
72 // DataChannel states:
82 class DataChannel : public DataChannelInterface,
86 static talk_base::scoped_refptr<DataChannel> Create(
123 // Sigslots from cricket::DataChannel
124 void OnDataReceived(cricket::DataChannel* channel,
153 DataChannel(DataChannelProviderInterface* client
    [all...]
datachannel_unittest.cc 28 #include "talk/app/webrtc/datachannel.h"
33 using webrtc::DataChannel;
45 DataChannel::Create(&provider_, cricket::DCT_SCTP, "test", &init_)) {
65 talk_base::scoped_refptr<DataChannel> webrtc_data_channel_;
71 talk_base::scoped_refptr<DataChannel> dc = DataChannel::Create(
108 // Tests that DataChannel::buffered_amount() is correct after the channel is
152 // Tests that the DataChannel created after transport gets ready can enter OPEN
158 talk_base::scoped_refptr<DataChannel> dc =
159 DataChannel::Create(&provider_, cricket::DCT_SCTP, "test1", &init)
    [all...]
webrtcsession.h 36 #include "talk/app/webrtc/datachannel.h"
47 class DataChannel;
131 virtual cricket::DataChannel* data_channel() {
192 virtual bool ConnectDataChannel(DataChannel* webrtc_data_channel) OVERRIDE;
193 virtual void DisconnectDataChannel(DataChannel* webrtc_data_channel) OVERRIDE;
198 talk_base::scoped_refptr<DataChannel> CreateDataChannel(
304 talk_base::scoped_ptr<cricket::DataChannel> data_channel_;
mediastreamsignaling.h 35 #include "talk/app/webrtc/datachannel.h"
121 // To signal that a DataChannel should be established:
122 // 1. Call AddDataChannel with the new DataChannel. Next time
123 // GetMediaSessionOptions will include the description of the DataChannel.
126 // this DataChannel.
128 // session description. If the DataChannel label and a SSRC is included in
129 // the description, the DataChannel is updated with SSRC that will be used
131 // 4. When both the local and remote SSRC of a DataChannel is set the state of
132 // the DataChannel change to kOpen.
134 // To setup a DataChannel initialized by the remote end
    [all...]
mediastreamsignaling.cc 246 bool MediaStreamSignaling::AddDataChannel(DataChannel* data_channel) {
251 LOG(LS_ERROR) << "DataChannel with label " << data_channel->label()
267 LOG(LS_WARNING) << "Remote peer requested a DataChannel but DataChannels "
271 scoped_refptr<DataChannel> channel(
274 LOG(LS_ERROR) << "Failed to create DataChannel from the OPEN message.";
533 const DataChannel* channel = data_channel_it->second;
534 if (channel->state() == DataChannel::kConnecting ||
535 channel->state() == DataChannel::kOpen) {
536 // |streamid| and |sync_label| are both set to the DataChannel label
    [all...]
mediastreamsignaling_unittest.cc 247 virtual talk_base::scoped_refptr<webrtc::DataChannel> CreateDataChannel(
250 return webrtc::DataChannel::Create(provider_, type_, label, config);
529 talk_base::scoped_refptr<webrtc::DataChannel> AddDataChannel(
533 talk_base::scoped_refptr<webrtc::DataChannel> data_channel(
534 webrtc::DataChannel::Create(
    [all...]
webrtcsession.cc 65 // DataChannel pseudo constraints.
    [all...]
webrtcsession_unittest.cc 650 options.AddStream(cricket::MEDIA_TYPE_DATA, "datachannel",
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
fakedatachannelprovider.h 28 #include "talk/app/webrtc/datachannel.h"
50 virtual bool ConnectDataChannel(webrtc::DataChannel* data_channel) OVERRIDE {
55 LOG(LS_INFO) << "DataChannel connected " << data_channel;
61 webrtc::DataChannel* data_channel) OVERRIDE {
63 LOG(LS_INFO) << "DataChannel disconnected " << data_channel;
88 std::set<webrtc::DataChannel*>::iterator it;
109 std::set<webrtc::DataChannel*>::iterator it;
122 bool IsConnected(webrtc::DataChannel* data_channel) const {
139 std::set<webrtc::DataChannel*> connected_channels_;
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/javatests/src/org/webrtc/
PeerConnectionTest.java 57 DataChannel.Observer,
80 private DataChannel dataChannel;
81 private LinkedList<DataChannel.Buffer> expectedBuffers =
82 new LinkedList<DataChannel.Buffer>();
83 private LinkedList<DataChannel.State> expectedStateChanges =
84 new LinkedList<DataChannel.State>();
95 public synchronized void setDataChannel(DataChannel dataChannel) {
96 assertNull(this.dataChannel);
    [all...]
  /external/chromium_org/third_party/libjingle/source/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. */
96 public DataChannel(long nativeDataChannel) {
PeerConnection.java 83 /** Triggered when a remote peer opens a DataChannel. */
84 public void onDataChannel(DataChannel dataChannel);
124 public native DataChannel createDataChannel(
125 String label, DataChannel.Init init);
  /external/chromium_org/third_party/libjingle/source/talk/session/media/
channelmanager.h 120 DataChannel* CreateDataChannel(
124 void DestroyDataChannel(DataChannel* data_channel);
245 typedef std::vector<DataChannel*> DataChannels;
261 DataChannel* CreateDataChannel_w(
264 void DestroyDataChannel_w(DataChannel* data_channel);
channel.cc     [all...]
call.h 55 class DataChannel;
122 DataChannel* GetDataChannel(Session* session) const;
196 void OnDataReceived(DataChannel* channel,
253 DataChannel* data_channel;
channel.h 601 // DataChannel is a specialization for data.
602 class DataChannel : public BaseChannel {
604 DataChannel(talk_base::Thread* thread,
609 ~DataChannel();
624 sigslot::signal2<DataChannel*, const DataMediaInfo&> SignalMediaMonitor;
625 sigslot::signal2<DataChannel*, const std::vector<ConnectionInfo>&>
627 sigslot::signal3<DataChannel*, uint32, DataMediaChannel::Error>
629 sigslot::signal3<DataChannel*,
channelmanager.cc 413 DataChannel* ChannelManager::CreateDataChannel(
416 return worker_thread_->Invoke<DataChannel*>(
421 DataChannel* ChannelManager::CreateDataChannel_w(
434 DataChannel* data_channel = new DataChannel(
446 void ChannelManager::DestroyDataChannel(DataChannel* data_channel) {
453 void ChannelManager::DestroyDataChannel_w(DataChannel* data_channel) {
channelmanager_unittest.cc 141 cricket::DataChannel* data_channel =
165 cricket::DataChannel* data_channel =
192 cricket::DataChannel* data_channel =
call.cc 361 DataChannel* data_channel = it->second.data_channel;
388 DataChannel* Call::GetDataChannel(Session* session) const {
414 DataChannel* data_channel = it->second.data_channel;
445 DataChannel* data_channel = GetDataChannel(session);
776 void Call::OnDataReceived(DataChannel* channel,
894 DataChannel* data_channel = GetDataChannel(session);
    [all...]
channel_unittest.cc 151 class DataTraits : public Traits<cricket::DataChannel,
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
AppRTCDemoActivity.java 45 import org.webrtc.DataChannel;
179 DataChannel dc = pc.createDataChannel("dcLabel", new DataChannel.Init());
412 @Override public void onDataChannel(final DataChannel dc) {

Completed in 169 milliseconds