| /xiu/protocol/rtsp/src/rtp/ |
| H A D | utils.rs | 26 pub type OnFrameFn = Box<dyn Fn(FrameData) -> Result<(), UnPackerError> + Send + Sync>; 32 Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, 36 + Sync, 40 Box<dyn Fn(RtpPacket) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>> + Send + Sync>; 48 pub trait TPacker: TRtpReceiverForRtcp + Send + Sync { 61 pub trait TUnPacker: TRtpReceiverForRtcp + Send + Sync {
|
| H A D | rtp_aac.rs | 29 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, 37 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, in new() argument
|
| H A D | rtp_h265.rs | 27 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, 38 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, in new() argument
|
| H A D | rtp_h264.rs | 29 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, 38 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, in new() argument
|
| /xiu/protocol/rtsp/src/ |
| H A D | rtsp_track.rs | 14 fn create_packer(&mut self, writer: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>); in create_packer() argument 61 pub async fn rtp_receive_loop(&mut self, mut rtp_io: Box<dyn TNetIO + Send + Sync>) { in rtp_receive_loop() argument 83 pub async fn rtcp_receive_loop(&mut self, rtcp_io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) { in rtcp_receive_loop() argument 124 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, in on_rtcp() argument 129 pub async fn create_packer(&mut self, io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) { in create_packer() argument
|
| H A D | rtsp_channel.rs | 38 fn create_packer(&mut self, writer: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>); in create_packer() argument 129 fn create_packer(&mut self, io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) { in create_packer() argument 170 rtcp_io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, in on_rtcp() argument 195 rtcp_io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, in send_rr() argument
|
| /xiu/protocol/rtmp/src/handshake/ |
| H A D | handshake_server.rs | 35 pub fn new(io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) -> Self { in new() 87 pub fn new(io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) -> Self { in new() 278 pub fn new(io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) -> Self { in new()
|
| H A D | handshake_client.rs | 25 pub fn new(io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) -> Self { in new()
|
| /xiu/protocol/webrtc/src/ |
| H A D | whep.rs | 89 .add_track(Arc::clone(&video_track) as Arc<dyn TrackLocal + Send + Sync>) in handle_whep() 93 .add_track(Arc::clone(&audio_track) as Arc<dyn TrackLocal + Send + Sync>) in handle_whep()
|
| /xiu/protocol/httpflv/src/ |
| H A D | server.rs | 13 type GenericError = Box<dyn std::error::Error + Send + Sync>;
|
| /xiu/protocol/hls/src/ |
| H A D | server.rs | 10 type GenericError = Box<dyn std::error::Error + Send + Sync>;
|
| /xiu/protocol/rtsp/src/session/ |
| H A D | mod.rs | 63 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, 113 let net_io: Box<dyn TNetIO + Send + Sync> = Box::new(TcpIO::new(stream)); in new() 363 let box_udp_io: Box<dyn TNetIO + Send + Sync> = Box::new(rtp_io); in handle_setup() 377 let box_rtcp_io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>> = in handle_setup() 428 move |io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, packet: RtpPacket| { in handle_play() 444 move |io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, packet: RtpPacket| { in handle_play()
|
| /xiu/library/bytesio/src/ |
| H A D | bytes_writer.rs | 156 pub io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, 160 pub fn new(io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) -> Self { in new()
|
| H A D | bytesio.rs | 23 pub trait TNetIO: Send + Sync {
|
| /xiu/protocol/rtmp/src/chunk/ |
| H A D | packetizer.rs | 31 pub fn new(io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) -> Self { in new()
|
| /xiu/protocol/rtmp/src/netstream/ |
| H A D | writer.rs | 20 pub fn new(io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) -> Self { in new()
|
| /xiu/protocol/webrtc/src/session/ |
| H A D | mod.rs | 39 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, 53 let net_io: Box<dyn TNetIO + Send + Sync> = Box::new(TcpIO::new(stream)); in new()
|
| /xiu/protocol/rtmp/src/session/ |
| H A D | client_session.rs | 71 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, 110 let tcp_io: Box<dyn TNetIO + Send + Sync> = Box::new(TcpIO::new(stream)); in new()
|
| H A D | server_session.rs | 53 io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, 78 let tcp_io: Box<dyn TNetIO + Send + Sync> = Box::new(TcpIO::new(stream)); in new()
|
| /xiu/library/streamhub/src/ |
| H A D | define.rs | 175 pub trait TStreamHandler: Send + Sync {
|
| /xiu/protocol/rtmp/src/netconnection/ |
| H A D | writer.rs | 70 pub fn new(io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>) -> Self { in new()
|