Home
last modified time | relevance | path

Searched refs:v (Results 1 – 8 of 8) sorted by relevance

/xiu/library/bytesio/src/
H A Dbytes_writer.rs240 let mut v: Vec<u8> = Vec::new(); in test_write_vec() localVariable
242 v.push(0x01); in test_write_vec()
243 assert_eq!(1, v.len()); in test_write_vec()
244 assert_eq!(0x01, v[0]); in test_write_vec()
246 v[0] = 0x02; in test_write_vec()
247 assert_eq!(0x02, v[0]); in test_write_vec()
258 let rv = v.write(&FLV_HEADER); in test_write_vec()
264 assert_eq!(10, v.len()); in test_write_vec()
/xiu/protocol/rtmp/src/cache/
H A Dmetadata.rs50 Ok(v) => { in is_metadata()
51 values.extend_from_slice(&v[..]); in is_metadata()
/xiu/
H A DREADME_CN.md6 ![XIU](https://img.shields.io/:XIU-blue.svg)[![crates.io](https://img.shields.io/crates/v/xiu.svg)]…
8 ![RTMP](https://img.shields.io/:RTMP-blue.svg)[![crates.io](https://img.shields.io/crates/v/rtmp.sv…
10 ![RTSP](https://img.shields.io/:RTSP-blue.svg)[![crates.io](https://img.shields.io/crates/v/xrtsp.s…
12 ![WEBRTC](https://img.shields.io/:WEBRTC-blue.svg)[![crates.io](https://img.shields.io/crates/v/xwe…
14 ![HTTPFLV](https://img.shields.io/:HTTPFLV-blue.svg)[![crates.io](https://img.shields.io/crates/v/h…
16 ![HLS](https://img.shields.io/:HLS-blue.svg)[![crates.io](https://img.shields.io/crates/v/hls.svg)]…
18 ![FLV](https://img.shields.io/:FLV-blue.svg)[![crates.io](https://img.shields.io/crates/v/xflv.svg)…
20 ![MPEGTS](https://img.shields.io/:MPEGTS-blue.svg)[![crates.io](https://img.shields.io/crates/v/xmp…
210 …ffmpeg -re -stream_loop -1 -i test.mp4 -c:a copy -c:v copy -f flv -flvflags no_duration_filesize r…
216 …ffmpeg -re -stream_loop -1 -i test.mp4 -c:v copy -c:a copy -rtsp_transport tcp -f rtsp rtsp:/…
[all …]
H A DREADME.md6 ![XIU](https://img.shields.io/:XIU-blue.svg)[![crates.io](https://img.shields.io/crates/v/xiu.svg)]…
8 ![RTMP](https://img.shields.io/:RTMP-blue.svg)[![crates.io](https://img.shields.io/crates/v/rtmp.sv…
10 ![RTSP](https://img.shields.io/:RTSP-blue.svg)[![crates.io](https://img.shields.io/crates/v/xrtsp.s…
12 ![WEBRTC](https://img.shields.io/:WEBRTC-blue.svg)[![crates.io](https://img.shields.io/crates/v/xwe…
14 ![HTTPFLV](https://img.shields.io/:HTTPFLV-blue.svg)[![crates.io](https://img.shields.io/crates/v/h…
16 ![HLS](https://img.shields.io/:HLS-blue.svg)[![crates.io](https://img.shields.io/crates/v/hls.svg)]…
18 ![FLV](https://img.shields.io/:FLV-blue.svg)[![crates.io](https://img.shields.io/crates/v/xflv.svg)…
20 ![MPEGTS](https://img.shields.io/:MPEGTS-blue.svg)[![crates.io](https://img.shields.io/crates/v/xmp…
222 …ffmpeg -re -stream_loop -1 -i test.mp4 -c:a copy -c:v copy -f flv -flvflags no_duration_filesize r…
228 …ffmpeg -re -stream_loop -1 -i test.mp4 -c:v copy -c:a copy -rtsp_transport tcp -f rtsp rtsp:/…
[all …]
/xiu/library/streamhub/src/
H A Dlib.rs78 for (_, v) in frame_senders.lock().await.iter() { in receive_frame_data_loop()
79 … if let Err(audio_err) = v.send(data.clone()).map_err(|_| ChannelError { in receive_frame_data_loop()
91 for (_, v) in frame_senders.lock().await.iter() { in receive_frame_data_loop()
92 … if let Err(video_err) = v.send(data.clone()).map_err(|_| ChannelError { in receive_frame_data_loop()
129 for (_, v) in packet_senders.lock().await.iter() { in receive_packet_data_loop()
130 … if let Err(audio_err) = v.send(data.clone()).map_err(|_| ChannelError { in receive_packet_data_loop()
142 for (_, v) in packet_senders.lock().await.iter() { in receive_packet_data_loop()
143 … if let Err(video_err) = v.send(data.clone()).map_err(|_| ChannelError { in receive_packet_data_loop()
538 for v in self.streams.values() { in api_statistic()
540 if let Err(err) = v.send(TransmitterEvent::Api { in api_statistic()
/xiu/application/xiu/
H A DREADME.md5 ![XIU](https://img.shields.io/:XIU-blue.svg)[![crates.io](https://img.shields.io/crates/v/xiu.svg)]…
7 ![RTMP](https://img.shields.io/:RTMP-blue.svg)[![crates.io](https://img.shields.io/crates/v/rtmp.sv…
9 ![RTSP](https://img.shields.io/:RTSP-blue.svg)[![crates.io](https://img.shields.io/crates/v/xrtsp.s…
11 ![WEBRTC](https://img.shields.io/:WEBRTC-blue.svg)[![crates.io](https://img.shields.io/crates/v/xwe…
13 ![HTTPFLV](https://img.shields.io/:HTTPFLV-blue.svg)[![crates.io](https://img.shields.io/crates/v/h…
15 ![HLS](https://img.shields.io/:HLS-blue.svg)[![crates.io](https://img.shields.io/crates/v/hls.svg)]…
17 ![FLV](https://img.shields.io/:FLV-blue.svg)[![crates.io](https://img.shields.io/crates/v/xflv.svg)…
19 ![MPEGTS](https://img.shields.io/:MPEGTS-blue.svg)[![crates.io](https://img.shields.io/crates/v/xmp…
217 …ffmpeg -re -stream_loop -1 -i test.mp4 -c:a copy -c:v copy -f flv -flvflags no_duration_filesize r…
223 …ffmpeg -re -stream_loop -1 -i test.mp4 -c:v copy -c:a copy -rtsp_transport tcp -f rtsp rtsp:/…
[all …]
/xiu/protocol/webrtc/src/http/
H A Dmod.rs76 let (k, v) = scanf!(ele, '=', String, String); in unmarshal()
77 if k.is_none() || v.is_none() { in unmarshal()
82 .insert(k.unwrap(), v.unwrap()); in unmarshal()
/xiu/protocol/rtsp/src/sdp/
H A Dmod.rs172 for (k, v) in &self.attributes { in marshal()
310 for (k, v) in &self.attributes { in marshal()