| /webrtc/data/src/data_channel/ |
| H A D | data_channel_test.rs | 188 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 D | mod.rs | 41 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 D | README.md | 22 …(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 D | README.md | 3 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 D | README.md | 3 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 D | data-channels-detach.rs | 213 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 D | README.md | 29 …lementation of WebRTC DataChannel. Rewrite <a href="https://github.com/pion/datachannel/releases/t…
|
| H A D | Cargo.toml | 6 description = "A pure Rust implementation of WebRTC DataChannel API"
|
| H A D | CHANGELOG.md | 19 * Make `DataChannel::on_buffered_amount_low` function non-async [#338](https://github.com/webrtc-rs…
|
| /webrtc/webrtc/src/data_channel/ |
| H A D | mod.rs | 84 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 D | README.md | 3 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 D | README.md | 23 * `Inbound DataChannel Messages` containing the current time sent by the Pion process every 3 secon…
|
| /webrtc/examples/examples/data-channels-detach-create/ |
| H A D | data-channels-detach-create.rs | 205 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 D | mod.rs | 35 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 D | README.md | 15 Send or SendText methods are called on DataChannel to send data to the connected peer.
|
| /webrtc/webrtc/src/sctp_transport/ |
| H A D | mod.rs | 27 use data::data_channel::DataChannel; 228 result = DataChannel::accept( in accept_data_channels()
|
| /webrtc/webrtc/ |
| H A D | CHANGELOG.md | 169 * [#224 update call to DataChannel::accept as per data pr #14](https://github.com/webrtc-rs/webrtc/…
|