/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
datachannel.cc | 27 #include "talk/app/webrtc/datachannel.h" 45 DataChannel::PacketQueue::PacketQueue() : byte_count_(0) {} 47 DataChannel::PacketQueue::~PacketQueue() { 51 bool DataChannel::PacketQueue::Empty() const { 55 DataBuffer* DataChannel::PacketQueue::Front() { 59 void DataChannel::PacketQueue::Pop() { 68 void DataChannel::PacketQueue::Push(DataBuffer* packet) { 73 void DataChannel::PacketQueue::Clear() { 81 void DataChannel::PacketQueue::Swap(PacketQueue* other) { 89 rtc::scoped_refptr<DataChannel> DataChannel::Create [all...] |
datachannel.h | 44 class DataChannel; 53 virtual bool ConnectDataChannel(DataChannel* data_channel) = 0; 55 virtual void DisconnectDataChannel(DataChannel* data_channel) = 0; 86 // DataChannel is a an implementation of the DataChannelInterface based on 91 // DataChannel states: 101 class DataChannel : public DataChannelInterface, 105 static rtc::scoped_refptr<DataChannel> Create( 142 // Sigslots from cricket::DataChannel 143 void OnDataReceived(cricket::DataChannel* channel, 173 DataChannel(DataChannelProviderInterface* client [all...] |
datachannel_unittest.cc | 28 #include "talk/app/webrtc/datachannel.h" 33 using webrtc::DataChannel; 69 DataChannel::Create( 90 rtc::scoped_refptr<DataChannel> webrtc_data_channel_; 96 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( 133 // Tests that DataChannel::buffered_amount() is correct after the channel is 187 // Tests that the DataChannel created after transport gets ready can enter OPEN 193 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create [all...] |
webrtcsession.h | 33 #include "talk/app/webrtc/datachannel.h" 48 class DataChannel; 136 virtual cricket::DataChannel* data_channel() { 204 virtual bool ConnectDataChannel(DataChannel* webrtc_data_channel) OVERRIDE; 205 virtual void DisconnectDataChannel(DataChannel* webrtc_data_channel) OVERRIDE; 211 rtc::scoped_refptr<DataChannel> CreateDataChannel( 294 void OnDataChannelMessageReceived(cricket::DataChannel* channel, 328 rtc::scoped_ptr<cricket::DataChannel> data_channel_;
|
mediastreamsignaling.h | 35 #include "talk/app/webrtc/datachannel.h" 123 // To signal that a DataChannel should be established: 124 // 1. Call AddDataChannel with the new DataChannel. Next time 125 // GetMediaSessionOptions will include the description of the DataChannel. 128 // this DataChannel. 130 // session description. If the DataChannel label and a SSRC is included in 131 // the description, the DataChannel is updated with SSRC that will be used 133 // 4. When both the local and remote SSRC of a DataChannel is set the state of 134 // the DataChannel change to kOpen. 136 // To setup a DataChannel initialized by the remote end [all...] |
mediastreamsignaling.cc | 170 const DataChannel* channel = data_channel_it->second; 171 if (channel->state() == DataChannel::kConnecting || 172 channel->state() == DataChannel::kOpen) { 173 // |streamid| and |sync_label| are both set to the DataChannel label 287 bool MediaStreamSignaling::AddDataChannel(DataChannel* data_channel) { 292 LOG(LS_ERROR) << "DataChannel with label " << data_channel->label() 308 LOG(LS_WARNING) << "Remote peer requested a DataChannel but DataChannels " 323 scoped_refptr<DataChannel> channel( 326 LOG(LS_ERROR) << "Failed to create DataChannel from the OPEN message."; 577 // Use a temporary copy of the RTP/SCTP DataChannel list because th [all...] |
mediastreamsignaling_unittest.cc | 270 virtual rtc::scoped_refptr<webrtc::DataChannel> CreateDataChannel( 274 rtc::scoped_refptr<webrtc::DataChannel> data_channel = 275 webrtc::DataChannel::Create(provider_, type_, label, *config); 580 rtc::scoped_refptr<webrtc::DataChannel> AddDataChannel( 584 rtc::scoped_refptr<webrtc::DataChannel> data_channel( 585 webrtc::DataChannel::Create( [all...] |
webrtcsession.cc | [all...] |
webrtcsession_unittest.cc | 799 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" 57 virtual bool ConnectDataChannel(webrtc::DataChannel* data_channel) OVERRIDE { 62 LOG(LS_INFO) << "DataChannel connected " << data_channel; 68 webrtc::DataChannel* data_channel) OVERRIDE { 70 LOG(LS_INFO) << "DataChannel disconnected " << data_channel; 95 std::set<webrtc::DataChannel*>::iterator it; 116 std::set<webrtc::DataChannel*>::iterator it; 133 bool IsConnected(webrtc::DataChannel* data_channel) const { 151 std::set<webrtc::DataChannel*> connected_channels_;
|
/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); 127 public native DataChannel createDataChannel( 128 String label, DataChannel.Init init);
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/javatests/src/org/webrtc/ |
PeerConnectionTest.java | 57 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/chromium_org/third_party/libjingle/source/talk/session/media/ |
channelmanager.h | 123 DataChannel* CreateDataChannel( 127 void DestroyDataChannel(DataChannel* data_channel); 252 typedef std::vector<DataChannel*> DataChannels; 268 DataChannel* CreateDataChannel_w( 271 void DestroyDataChannel_w(DataChannel* data_channel);
|
call.h | 57 class DataChannel; 143 DataChannel* GetDataChannel(Session* session) const; 219 void OnDataReceived(DataChannel* channel, 276 DataChannel* data_channel;
|
channel.cc | [all...] |
channel.h | 600 // DataChannel is a specialization for data. 601 class DataChannel : public BaseChannel { 603 DataChannel(rtc::Thread* thread, 608 ~DataChannel(); 623 sigslot::signal2<DataChannel*, const DataMediaInfo&> SignalMediaMonitor; 624 sigslot::signal2<DataChannel*, const std::vector<ConnectionInfo>&> 626 sigslot::signal3<DataChannel*, uint32, DataMediaChannel::Error> 628 sigslot::signal3<DataChannel*, 636 // Signal for notifying that the remote side has closed the DataChannel.
|
channelmanager.cc | 415 DataChannel* ChannelManager::CreateDataChannel( 418 return worker_thread_->Invoke<DataChannel*>( 423 DataChannel* ChannelManager::CreateDataChannel_w( 436 DataChannel* data_channel = new DataChannel( 448 void ChannelManager::DestroyDataChannel(DataChannel* data_channel) { 455 void ChannelManager::DestroyDataChannel_w(DataChannel* data_channel) {
|
channelmanager_unittest.cc | 134 cricket::DataChannel* data_channel = 158 cricket::DataChannel* data_channel = 185 cricket::DataChannel* data_channel =
|
call.cc | 371 DataChannel* data_channel = it->second.data_channel; 398 DataChannel* Call::GetDataChannel(Session* session) const { 422 DataChannel* data_channel = it->second.data_channel; 453 DataChannel* data_channel = GetDataChannel(session); 792 void Call::OnDataReceived(DataChannel* channel, 914 DataChannel* data_channel = GetDataChannel(session); [all...] |
channel_unittest.cc | 110 class DataTraits : public Traits<cricket::DataChannel, [all...] |
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/ |
AppRTCDemoActivity.java | 51 import org.webrtc.DataChannel; 269 DataChannel dc = pc.createDataChannel("dcLabel", new DataChannel.Init()); 518 @Override public void onDataChannel(final DataChannel dc) {
|