Home
last modified time | relevance | path

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

/webrtc/webrtc/src/api/
H A Dmod.rs18 use crate::data_channel::RTCDataChannel;
126 ) -> Result<RTCDataChannel> { in new_data_channel() argument
132 let d = RTCDataChannel::new(params, Arc::clone(&self.setting_engine)); in new_data_channel()
/webrtc/webrtc/src/sctp_transport/
H A Dmod.rs12 use crate::data_channel::RTCDataChannel;
39 dyn (FnMut(Arc<RTCDataChannel>) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>)
45 dyn (FnMut(Arc<RTCDataChannel>) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>)
53 data_channels: Arc<Mutex<Vec<Arc<RTCDataChannel>>>>,
89 pub(crate) data_channels: Arc<Mutex<Vec<Arc<RTCDataChannel>>>>,
284 let rtc_dc = Arc::new(RTCDataChannel::new( in accept_data_channels()
H A Dsctp_transport_test.rs9 data_channels.push(Arc::new(RTCDataChannel { in test_generate_data_channel_id()
/webrtc/webrtc/src/data_channel/
H A Ddata_channel_test.rs41 Arc<RTCDataChannel>, in set_up_data_channel_parameters_test() argument
199 answer_pc.on_data_channel(Box::new(move |d: Arc<RTCDataChannel>| { in test_data_channel_send_before_signaling()
255 answer_pc.on_data_channel(Box::new(move |d: Arc<RTCDataChannel>| { in test_data_channel_send_after_connected()
386 answer_pc.on_data_channel(Box::new(move |d: Arc<RTCDataChannel>| { in test_data_channel_parameters_max_packet_life_time_exchange()
435 answer_pc.on_data_channel(Box::new(move |d: Arc<RTCDataChannel>| { in test_data_channel_parameters_max_retransmits_exchange()
596 let dc = RTCDataChannel { in test_data_channel_event_handlers()
644 let dc = RTCDataChannel { in test_data_channel_messages_are_ordered()
781 let dc = RTCDataChannel { in test_data_channel_parameters_go()
1021 pcb.on_data_channel(Box::new(move |dc: Arc<RTCDataChannel>| { in test_eof_detach()
1127 pcb.on_data_channel(Box::new(move |dc: Arc<RTCDataChannel>| { in test_eof_no_detach()
[all …]
H A Dmod.rs56 pub struct RTCDataChannel { struct
92 impl RTCDataChannel { argument
98 RTCDataChannel { in new()
280 RTCDataChannel::read_loop( in handle_open()
/webrtc/examples/examples/ortc/
H A Dortc.rs11 use webrtc::data_channel::RTCDataChannel;
103 sctp.on_data_channel(Box::new(move |d: Arc<RTCDataChannel>| { in main()
259 async fn handle_on_open(d: Arc<RTCDataChannel>) -> Result<()> { in handle_on_open()
/webrtc/examples/examples/data-channels/
H A Ddata-channels.rs10 use webrtc::data_channel::RTCDataChannel;
118 .on_data_channel(Box::new(move |d: Arc<RTCDataChannel>| { in main()
/webrtc/webrtc/src/dtls_transport/
H A Ddtls_transport_test.rs4 use crate::data_channel::RTCDataChannel;
44 pc_answer.on_data_channel(Box::new(|_: Arc<RTCDataChannel>| { in test_invalid_fingerprint_causes_failed()
/webrtc/examples/examples/data-channels-detach/
H A Ddata-channels-detach.rs11 use webrtc::data_channel::RTCDataChannel;
129 peer_connection.on_data_channel(Box::new(move |d: Arc<RTCDataChannel>| { in main()
/webrtc/examples/examples/data-channels-close/
H A Ddata-channels-close.rs12 use webrtc::data_channel::RTCDataChannel;
134 .on_data_channel(Box::new(move |d: Arc<RTCDataChannel>| { in main()
/webrtc/examples/examples/ice-restart/
H A Dice-restart.rs15 use webrtc::data_channel::RTCDataChannel;
120 pc.on_data_channel(Box::new(|d: Arc<RTCDataChannel>| { in do_signaling()
/webrtc/examples/examples/offer-answer/
H A Danswer.rs15 use webrtc::data_channel::RTCDataChannel;
340 peer_connection.on_data_channel(Box::new(move |d: Arc<RTCDataChannel>| { in main()
/webrtc/examples/examples/data-channels-flow-control/
H A DREADME.md11 See <https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel> for more details.
/webrtc/webrtc/src/stats/
H A Dmod.rs2 use crate::data_channel::RTCDataChannel;
371 pub(crate) async fn from(data_channel: &RTCDataChannel) -> Self { in from()
/webrtc/webrtc/src/peer_connection/
H A Dmod.rs20 use crate::data_channel::RTCDataChannel;
134 dyn (FnMut(Arc<RTCDataChannel>) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>)
1791 ) -> Result<Arc<RTCDataChannel>> { in create_data_channel() argument
1836 let d = Arc::new(RTCDataChannel::new( in create_data_channel()
H A Dpeer_connection_internal.rs136 .on_data_channel(Box::new(move |d: Arc<RTCDataChannel>| { in new()
/webrtc/webrtc/
H A DCHANGELOG.md92 - `RTCDataChannel`: