Home
last modified time | relevance | path

Searched refs:marshal (Results 1 – 22 of 22) sorted by relevance

/xiu/protocol/rtsp/src/sdp/
H A Dfmtp.rs62 pub fn marshal(&self) -> String { in marshal() method
64 Fmtp::H264(h264fmtp) => h264fmtp.marshal(), in marshal()
65 Fmtp::H265(h265fmtp) => h265fmtp.marshal(), in marshal()
66 Fmtp::Mpeg4(mpeg4fmtp) => mpeg4fmtp.marshal(), in marshal()
120 fn marshal(&self) -> String { in marshal() method
178 fn marshal(&self) -> String { in marshal() method
251 fn marshal(&self) -> String { in marshal() method
288 print!("264 parser: {}", parser.marshal()); in test_parse_h264fmtpsdp()
299 print!("264 parser2: {}", parser2.marshal()); in test_parse_h264fmtpsdp()
314 print!("265 parser: {}", parser.marshal()); in test_parse_h265fmtpsdp()
[all …]
H A Dmod.rs37 fn marshal(&self) -> String { in marshal() method
144 fn marshal(&self) -> String { in marshal() method
153 format!("b={}", bandwidth.marshal()) in marshal()
165 self.rtpmap.marshal() in marshal()
169 sdp_media_info = format!("{}a=fmtp:{}", sdp_media_info, fmtp.marshal()); in marshal()
304 fn marshal(&self) -> String { in marshal() method
315 sdp_str = format!("{}{}", sdp_str, media_info.marshal()); in marshal()
376 println!("sdp str : {}", sdp.marshal()); in test_parse_sdp()
H A Drtpmap.rs48 fn marshal(&self) -> String { in marshal() method
79 print!("marshal str:{}", parser.marshal()); in test_marshal_unmarshal_rtpmap()
90 print!("marshal str2 :{}", parser2.marshal()); in test_marshal_unmarshal_rtpmap()
/xiu/protocol/rtsp/src/rtp/rtcp/
H A Drtcp_rr.rs39 fn marshal(&self) -> Result<BytesMut, RtcpError> { in marshal() method
84 fn marshal(&self) -> Result<BytesMut, RtcpError> { in marshal() method
87 let header_bytesmut = self.header.marshal()?; in marshal()
92 let data = report_block.marshal()?; in marshal()
H A Drtcp_sr.rs83 fn marshal(&self) -> Result<BytesMut, RtcpError> { in marshal() method
86 let header_bytesmut = self.header.marshal()?; in marshal()
96 let data = report_block.marshal()?; in marshal()
H A Drtcp_app.rs48 fn marshal(&self) -> Result<BytesMut, RtcpError> { in marshal() method
51 let header_bytesmut = self.header.marshal()?; in marshal()
H A Drtcp_bye.rs54 fn marshal(&self) -> Result<BytesMut, RtcpError> { in marshal() method
57 let header_bytesmut = self.header.marshal()?; in marshal()
H A Drtcp_header.rs42 fn marshal(&self) -> Result<BytesMut, RtcpError> { in marshal() method
/xiu/protocol/rtsp/src/
H A Dglobal_trait.rs8 fn marshal(&self) -> String; in marshal() method
H A Drtsp_transport.rs107 fn marshal(&self) -> String { in marshal() method
176 println!("marshal reslut: {}", parser.marshal()); in test_parse_transport()
H A Drtsp_range.rs92 fn marshal(&self) -> String { in marshal() method
H A Drtsp_channel.rs200 if let Ok(msg) = rr.marshal() { in send_rr()
/xiu/protocol/webrtc/src/http/
H A Dmod.rs18 fn marshal(&self) -> String; in marshal() method
128 fn marshal(&self) -> String { in marshal() method
207 fn marshal(&self) -> String { in marshal() method
318 let marshal_result = parser.marshal(); in test_parse_http_request()
468 let marshal_result = parser.marshal(); in test_whep_request()
530 let marshal_result = parser.marshal(); in test_parse_http_response()
/xiu/library/container/flv/src/
H A Dlib.rs16 fn marshal(&self) -> T; in marshal() method
H A Dflv_tag_header.rs105 fn marshal(&self) -> Result<BytesMut, FlvMuxerError> { in marshal() method
198 fn marshal(&self) -> Result<BytesMut, FlvMuxerError> { in marshal() method
/xiu/protocol/rtsp/src/rtp/
H A Dmod.rs72 fn marshal(&self) -> Result<BytesMut, BytesWriteError> { in marshal() method
75 let header_bytesmut = self.header.marshal()?; in marshal()
H A Drtp_header.rs66 fn marshal(&self) -> Result<BytesMut, BytesWriteError> { in marshal() method
H A Dutils.rs23 fn marshal(&self) -> T; in marshal() method
/xiu/protocol/rtsp/src/http/
H A Dmod.rs87 fn marshal(&self) -> String { in marshal() method
159 fn marshal(&self) -> String { in marshal() method
268 let marshal_result = parser.marshal(); in test_parse_rtsp_request()
298 let marshal_result = parser.marshal(); in test_parse_rtsp_request()
/xiu/protocol/rtsp/src/session/
H A Dmod.rs256 let sdp = self.sdp.marshal(); in handle_describe()
394 let new_transport_data = trans.marshal(); in handle_setup()
430 let msg = packet.marshal()?; in handle_play()
448 let msg = packet.marshal()?; in handle_play()
551 .insert(String::from("Range"), range.marshal()); in handle_record()
698 self.writer.write(response.marshal().as_bytes())?; in send_response()
820 data: self.sdp.lock().await.marshal(), in send_information()
/xiu/protocol/rtmp/src/remuxer/
H A Drtsp2rtmp.rs243 let tag_header_data = audio_tag_header.marshal()?; in on_rtsp_audio()
369 let tag_header_data = video_tag_header.marshal()?; in gen_rtmp_video_seq_header()
405 let tag_header_data = video_tag_header.marshal()?; in gen_rtmp_video_frame_data()
/xiu/protocol/webrtc/src/session/
H A Dmod.rs503 self.writer.write(response.marshal().as_bytes())?; in send_response()