Home
last modified time | relevance | path

Searched refs:x (Results 1 – 21 of 21) sorted by relevance

/webrtc/examples/examples/
H A DREADME.md8 - [x] [Reflect](reflect): The reflect example demonstrates how to have webrtc-rs send back to the u…
9 - [x] [Play from Disk VPx](play-from-disk-vpx): The play-from-disk-vp8 example demonstrates how to …
10 - [x] [Play from Disk H264](play-from-disk-h264): The play-from-disk-h264 example demonstrates how …
16 - [x] [RTP Forwarder](rtp-forwarder): The rtp-forwarder example demonstrates how to forward your au…
17 - [x] [RTP to WebRTC](rtp-to-webrtc): The rtp-to-webrtc example demonstrates how to take RTP packet…
19 - [x] [Swap Tracks](swap-tracks): The swap-tracks demonstrates how to swap multiple incoming tracks…
22 - [x] [Data Channels](data-channels): The data-channels example shows how you can send/recv DataCha…
27 - [x] [Data Channels Flow Control](data-channels-flow-control): Example data-channels-flow-control …
28 - [x] [ORTC](ortc): Example ortc shows how to use the ORTC API for DataChannel communication.
29 - [x] [Offer Answer](offer-answer): Example offer-answer is an example of two webrtc-rs or pion ins…
[all …]
/webrtc/rtp/src/codecs/vp8/
H A Dvp8_test.rs31 assert_eq!(pck.x, 1, "X must be 1"); in test_vp8_unmarshal()
41 assert_eq!(pck.x, 1, "X must be 1"); in test_vp8_unmarshal()
51 assert_eq!(pck.x, 1, "X must be 1"); in test_vp8_unmarshal()
61 assert_eq!(pck.x, 1, "X must be 1"); in test_vp8_unmarshal()
71 assert_eq!(pck.x, 1, "X must be 1"); in test_vp8_unmarshal()
83 assert_eq!(pck.x, 1, "X must be 1"); in test_vp8_unmarshal()
95 assert_eq!(pck.x, 1, "X must be 1"); in test_vp8_unmarshal()
H A Dmod.rs118 pub x: u8, field
177 self.x = (b & 0x80) >> 7; in depacketize()
182 if self.x == 1 { in depacketize()
/webrtc/dtls/src/crypto/
H A Dcrypto_test.rs193 .map(|x| x.0.clone()) in test_certificate_verify()
215 .map(|x| x.0.clone()) in test_certificate_verify()
/webrtc/media/src/io/sample_builder/
H A Dsample_sequence_location_test.rs39 let reconstructed: Vec<_> = s.range(&data).map(|x| x.cloned()).collect(); in test_sample_sequence_location_range()
H A Dsample_builder_test.rs1339 x: u16, in test_seqnum_distance() field
1345 x: 0x0001, in test_seqnum_distance()
1350 x: 0x0003, in test_seqnum_distance()
1355 x: 0xFFF3, in test_seqnum_distance()
1360 x: 0xFFF1, in test_seqnum_distance()
1365 x: 0xFFFF, in test_seqnum_distance()
1370 x: 0x0001, in test_seqnum_distance()
1378 seqnum_distance(data.x, data.y), in test_seqnum_distance()
1381 data.x, in test_seqnum_distance()
1383 seqnum_distance(data.x, data.y), in test_seqnum_distance()
H A Dmod.rs406 pub(crate) fn seqnum_distance(x: u16, y: u16) -> u16 { in seqnum_distance()
407 let diff = x.wrapping_sub(y); in seqnum_distance()
/webrtc/dtls/src/handshake/
H A Dhandshake_cache.rs81 if let Some(x) = &item { in pull()
82 if x.message_sequence < c.message_sequence { in pull()
112 if let Some(x) = &item { in full_pull_map()
113 if x.message_sequence < c.message_sequence { in full_pull_map()
/webrtc/interceptor/src/twcc/
H A Dmod.rs238 .map(|x| SymbolTypeTcc::from(*x)) in encode()
251 .map(|x| SymbolTypeTcc::from(*x)) in encode()
/webrtc/dtls/src/fragment_buffer/
H A Dmod.rs75 if let Some(x) = self.cache.get_mut(&handshake_header.message_sequence) { in push()
76 x.push(Fragment { in push()
/webrtc/rtcp/src/receiver_report/
H A Dmod.rs61 self.reports.iter().map(|x| x.ssrc).collect() in destination_ssrc()
/webrtc/rtcp/src/sender_report/
H A Dmod.rs96 let mut out: Vec<u32> = self.reports.iter().map(|x| x.ssrc).collect(); in destination_ssrc()
/webrtc/webrtc/src/peer_connection/sdp/
H A Dmod.rs53 track_details.iter().find(|x| x.ssrcs.contains(&ssrc)) in track_details_for_ssrc()
60 track_details.iter().find(|x| x.rids.contains(&rid)) in track_details_for_rid()
64 incoming_tracks.retain(|x| !x.ssrcs.contains(&ssrc)); in filter_track_with_ssrc()
/webrtc/rtcp/src/source_description/
H A Dmod.rs303 self.chunks.iter().map(|x| x.source).collect() in destination_ssrc()
/webrtc/examples/examples/rtp-to-webrtc/
H A DREADME.md39 gst-launch-1.0 videotestsrc ! video/x-raw,width=640,height=480,format=I420 ! vp8enc error-resilient…
/webrtc/ice/src/agent/
H A Dagent_internal.rs264 let mut update_interval = |x: Duration| { in connectivity_checks()
265 if x != ZERO_DURATION && (interval == ZERO_DURATION || interval > x) { in connectivity_checks()
266 interval = x; in connectivity_checks()
/webrtc/webrtc/src/peer_connection/
H A Dcertificate.rs195 let values: Vec<String> = hashed.iter().map(|x| format! {"{x:02x}"}).collect(); in get_fingerprints()
/webrtc/dtls/src/flight/
H A Dflight5.rs209 cert.certificate.iter().map(|x| x.0.clone()).collect() in generate()
H A Dflight4.rs580 .map(|x| x.0.clone()) in generate()
/webrtc/dtls/src/conn/
H A Dmod.rs161 let sigs: Vec<u16> = config.signature_schemes.iter().map(|x| *x as u16).collect(); in new()
/webrtc/webrtc/src/dtls_transport/
H A Dmod.rs550 let values: Vec<String> = hashed.iter().map(|x| format! {"{x:02x}"}).collect(); in validate_fingerprint()