Home
last modified time | relevance | path

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

/webrtc/data/src/data_channel/
H A Ddata_channel_test.rs188 let dc0 = DataChannel::dial(&a0, 100, cfg.clone()).await?; in pr_ordered_unordered_test()
191 let existing_data_channels: Vec<DataChannel> = Vec::new(); in pr_ordered_unordered_test()
275 let dc0 = DataChannel::dial(&a0, 100, cfg.clone()).await?; in test_data_channel_channel_type_reliable_ordered()
278 let existing_data_channels: Vec<DataChannel> = Vec::new(); in test_data_channel_channel_type_reliable_ordered()
338 let dc0 = DataChannel::dial(&a0, 100, cfg.clone()).await?; in test_data_channel_channel_type_reliable_unordered()
341 let existing_data_channels: Vec<DataChannel> = Vec::new(); in test_data_channel_channel_type_reliable_unordered()
432 DataChannel::dial( in test_data_channel_buffered_amount()
444 let existing_data_channels: Vec<DataChannel> = Vec::new(); in test_data_channel_buffered_amount()
542 let dc0 = DataChannel::dial(&a0, 100, cfg.clone()).await?; in test_stats()
545 let existing_data_channels: Vec<DataChannel> = Vec::new(); in test_stats()
[all …]
H A Dmod.rs41 pub struct DataChannel { struct
52 impl DataChannel { argument
118 Ok(DataChannel::new(stream, config)) in client()
144 let data_channel = DataChannel::new(stream, config); in server()
396 data_channel: Arc<DataChannel>,
418 pub fn new(data_channel: Arc<DataChannel>) -> Self { in new()
429 pub fn into_inner(self) -> Arc<DataChannel> { in into_inner() argument
434 pub fn clone_inner(&self) -> Arc<DataChannel> { in clone_inner() argument
678 impl AsRef<DataChannel> for PollDataChannel {
679 fn as_ref(&self) -> &DataChannel { in as_ref() argument
/webrtc/examples/examples/
H A DREADME.md22 …(data-channels): The data-channels example shows how you can send/recv DataChannel messages from a…
23 …nels-create): Example data-channels-create shows how you can send/recv DataChannel messages from a…
25 …annels-detach example shows how you can send/recv DataChannel messages using the underlying DataCh…
26 …hannels-detach-create shows how you can send/recv DataChannel messages using the underlying DataCh…
28 - [x] [ORTC](ortc): Example ortc shows how to use the ORTC API for DataChannel communication.
/webrtc/examples/examples/data-channels/
H A DREADME.md3 data-channels is a WebRTC.rs application that shows how you can send/recv DataChannel messages from…
36 …see 'Checking' as it starts connecting. If everything worked you should see `New DataChannel foo 1`
/webrtc/examples/examples/data-channels-detach/
H A DREADME.md3 data-channels is a WebRTC.rs application that shows how you can send/recv DataChannel messages from…
36 …see 'Checking' as it starts connecting. If everything worked you should see `New DataChannel foo 1`
H A Ddata-channels-detach.rs213 async fn read_loop(d: Arc<webrtc::data::data_channel::DataChannel>) -> Result<()> { in read_loop()
232 async fn write_loop(d: Arc<webrtc::data::data_channel::DataChannel>) -> Result<()> { in write_loop()
/webrtc/data/
H A DREADME.md29 …lementation of WebRTC DataChannel. Rewrite <a href="https://github.com/pion/datachannel/releases/t…
H A DCargo.toml6 description = "A pure Rust implementation of WebRTC DataChannel API"
H A DCHANGELOG.md19 * Make `DataChannel::on_buffered_amount_low` function non-async [#338](https://github.com/webrtc-rs…
/webrtc/webrtc/src/data_channel/
H A Dmod.rs84 pub(crate) data_channel: Mutex<Option<Arc<data::data_channel::DataChannel>>>,
180 let dc = data::data_channel::DataChannel::dial(&association, self.id(), cfg).await?; in open()
264 pub(crate) async fn handle_open(&self, dc: Arc<data::data_channel::DataChannel>) { in handle_open() argument
301 data_channel: Arc<data::data_channel::DataChannel>, in read_loop() argument
406 pub async fn detach(&self) -> Result<Arc<data::data_channel::DataChannel>> { in detach() argument
555 collector.insert(self.stats_id.clone(), StatsReportType::DataChannel(stats)); in collect_stats()
/webrtc/examples/examples/data-channels-create/
H A DREADME.md3 data-channels-create is a WebRTC.rs application that shows how you can send/recv DataChannel messag…
32 …onnected` as the connection is created. If everything worked you should see `New DataChannel data`.
/webrtc/examples/examples/ice-restart/
H A DREADME.md23 * `Inbound DataChannel Messages` containing the current time sent by the Pion process every 3 secon…
/webrtc/examples/examples/data-channels-detach-create/
H A Ddata-channels-detach-create.rs205 async fn read_loop(d: Arc<webrtc::data::data_channel::DataChannel>) -> Result<()> { in read_loop()
224 async fn write_loop(d: Arc<webrtc::data::data_channel::DataChannel>) -> Result<()> { in write_loop()
/webrtc/webrtc/src/stats/
H A Dmod.rs35 DataChannel, enumerator
68 DataChannel(DataChannelStats), enumerator
102 StatsReportType::DataChannel(stats) => stats.serialize(serializer), in serialize()
398 stats_type: RTCStatsType::DataChannel, in from()
/webrtc/examples/examples/data-channels-flow-control/
H A DREADME.md15 Send or SendText methods are called on DataChannel to send data to the connected peer.
/webrtc/webrtc/src/sctp_transport/
H A Dmod.rs27 use data::data_channel::DataChannel;
228 result = DataChannel::accept( in accept_data_channels()
/webrtc/webrtc/
H A DCHANGELOG.md169 * [#224 update call to DataChannel::accept as per data pr #14](https://github.com/webrtc-rs/webrtc/…