Home
last modified time | relevance | path

Searched refs:unmarshal (Results 1 – 25 of 26) sorted by relevance

12

/xiu/protocol/rtsp/src/sdp/
H A Dfmtp.rs43 if let Some(h264_fmtp) = H264Fmtp::unmarshal(raw_data) { in new()
48 if let Some(h265_fmtp) = H265Fmtp::unmarshal(raw_data) { in new()
53 if let Some(mpeg4_fmtp) = Mpeg4Fmtp::unmarshal(raw_data) { in new()
73 fn unmarshal(raw_data: &str) -> Option<Self> { in unmarshal() method
136 fn unmarshal(raw_data: &str) -> Option<Self> { in unmarshal() method
194 fn unmarshal(raw_data: &str) -> Option<Self> { in unmarshal() method
278 …let parser = H264Fmtp::unmarshal("96 packetization-mode=1; sprop-parameter-sets=Z2QAFqyyAUBf8uAiA… in test_parse_h264fmtpsdp()
290 …let parser2 = H264Fmtp::unmarshal("96 packetization-mode=1;\nsprop-parameter-sets=Z2QAFqyyAUBf8uAi… in test_parse_h264fmtpsdp()
303 …let parser = H265Fmtp::unmarshal("96 sprop-vps=QAEMAf//AWAAAAMAkAAAAwAAAwA/ugJA; sprop-sps=QgEBAWA… in test_parse_h265fmtpsdp()
319 …let parser = Mpeg4Fmtp::unmarshal("97 profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;… in test_parse_mpeg4fmtpsdp()
H A Dmod.rs18 fn unmarshal(raw_data: &str) -> Option<Self> { in unmarshal() method
101 fn unmarshal(raw_data: &str) -> Option<Self> { in unmarshal() method
181 fn unmarshal(raw_data: &str) -> Option<Self> { in unmarshal() method
236 if let Some(sdp_media) = SdpMediaInfo::unmarshal(kv[1]) { in unmarshal()
242 cur_media.bandwidth = Some(Bandwidth::unmarshal(kv[1]).unwrap()); in unmarshal()
264 if let Some(rtpmap) = RtpMap::unmarshal(attr_value) { in unmarshal()
373 if let Some(sdp) = Sdp::unmarshal(data2) { in test_parse_sdp()
H A Drtpmap.rs15 fn unmarshal(raw_data: &str) -> Option<Self> { in unmarshal() method
70 let parser = RtpMap::unmarshal("97 MPEG4-GENERIC/44100/2").unwrap(); in test_marshal_unmarshal_rtpmap()
81 let parser2 = RtpMap::unmarshal("96 H264/90000").unwrap(); in test_marshal_unmarshal_rtpmap()
/xiu/protocol/rtsp/src/
H A Drtsp_range.rs21 fn unmarshal(raw_data: &str) -> Option<Self> { in unmarshal() method
108 let parser = RtspRange::unmarshal("clock=20220520T064812Z-20230520T064816Z").unwrap(); in test_parse_transport()
112 let parser1 = RtspRange::unmarshal("npt=now-").unwrap(); in test_parse_transport()
116 let parser2 = RtspRange::unmarshal("npt=0-").unwrap(); in test_parse_transport()
H A Dglobal_trait.rs2 fn unmarshal(request_data: &str) -> Option<Self> in unmarshal() method
H A Drtsp_transport.rs31 fn unmarshal(raw_data: &str) -> Option<Self> { in unmarshal() method
162 let parser = RtspTransport::unmarshal( in test_parse_transport()
H A Drtsp_channel.rs173 if let Ok(rtcp_header) = RtcpHeader::unmarshal(&mut reader_clone) { in on_rtcp()
176 if let Ok(sr) = RtcpSenderReport::unmarshal(reader) { in on_rtcp()
/xiu/protocol/rtsp/src/rtp/rtcp/
H A Drtcp_rr.rs22 fn unmarshal(reader: &mut BytesReader) -> Result<Self, RtcpError> in unmarshal() method
62 fn unmarshal(data: BytesMut) -> Result<Self, RtcpError> in unmarshal() method
69 header: RtcpHeader::unmarshal(&mut reader)?, in unmarshal()
75 let report_block = ReportBlock::unmarshal(&mut reader)?; in unmarshal()
H A Drtcp_sr.rs59 fn unmarshal(reader: &mut BytesReader) -> Result<Self, RtcpError> in unmarshal() method
64 header: RtcpHeader::unmarshal(reader)?, in unmarshal()
74 let report_block = ReportBlock::unmarshal(reader)?; in unmarshal()
H A Drtcp_app.rs30 fn unmarshal(data: BytesMut) -> Result<Self, RtcpError> in unmarshal() method
37 rtcp_app.header = RtcpHeader::unmarshal(&mut reader)?; in unmarshal()
H A Drtcp_bye.rs30 fn unmarshal(data: BytesMut) -> Result<Self, RtcpError> in unmarshal() method
37 header: RtcpHeader::unmarshal(&mut reader)?, in unmarshal()
H A Drtcp_header.rs24 fn unmarshal(reader: &mut BytesReader) -> Result<Self, RtcpError> in unmarshal() method
/xiu/protocol/webrtc/src/http/
H A Dmod.rs12 fn unmarshal(request_data: &str) -> Option<Self> in unmarshal() method
53 fn unmarshal(request_data: &str) -> Option<Self> { in unmarshal() method
163 fn unmarshal(request_data: &str) -> Option<Self> { in unmarshal() method
316 if let Some(parser) = HttpRequest::unmarshal(request) { in test_parse_http_request()
466 if let Some(parser) = HttpRequest::unmarshal(request) { in test_whep_request()
528 if let Some(parser) = HttpResponse::unmarshal(response) { in test_parse_http_response()
/xiu/library/container/flv/src/
H A Dlib.rs11 fn unmarshal(reader: T1) -> T2 in unmarshal() method
H A Dflv_tag_header.rs84 fn unmarshal(reader: &mut BytesReader) -> Result<Self, FlvDemuxerError> in unmarshal() method
162 fn unmarshal(reader: &mut BytesReader) -> Result<Self, FlvDemuxerError> in unmarshal() method
H A Ddemuxer.rs132 let tag_header = VideoTagHeader::unmarshal(&mut reader)?; in demux()
181 let tag_header = AudioTagHeader::unmarshal(&mut reader)?; in demux()
/xiu/protocol/rtsp/src/rtp/
H A Dmod.rs33 fn unmarshal(reader: &mut BytesReader) -> Result<Self, BytesReadError> in unmarshal() method
38 header: RtpHeader::unmarshal(reader)?, in unmarshal()
H A Drtp_header.rs26 fn unmarshal(reader: &mut BytesReader) -> Result<Self, BytesReadError> in unmarshal() method
H A Drtp_aac.rs119 let rtp_packet = RtpPacket::unmarshal(reader)?; in unpack()
H A Dutils.rs17 fn unmarshal(data: T1) -> T2 in unmarshal() method
H A Drtp_h265.rs183 let rtp_packet = RtpPacket::unmarshal(reader)?; in unpack()
H A Drtp_h264.rs164 let rtp_packet = RtpPacket::unmarshal(reader)?; in unpack()
/xiu/protocol/rtsp/src/http/
H A Dmod.rs26 fn unmarshal(request_data: &str) -> Option<Self> { in unmarshal() method
115 fn unmarshal(request_data: &str) -> Option<Self> { in unmarshal() method
266 if let Some(parser) = RtspRequest::unmarshal(data1) { in test_parse_rtsp_request()
296 if let Some(parser) = RtspRequest::unmarshal(data2) { in test_parse_rtsp_request()
/xiu/protocol/rtmp/src/cache/
H A Dmod.rs93 let tag_header = AudioTagHeader::unmarshal(&mut reader)?; in save_audio_data()
148 let tag_header = VideoTagHeader::unmarshal(&mut reader)?; in save_video_data()
/xiu/protocol/rtsp/src/session/
H A Dmod.rs180 if let Some(rtsp_request) = RtspRequest::unmarshal(std::str::from_utf8(&data)?) { in on_rtsp_message()
248 if let Some(sdp) = Sdp::unmarshal(&data) { in handle_describe()
269 if let Some(sdp) = Sdp::unmarshal(request_body) { in handle_announce()
340 let transport = RtspTransport::unmarshal(transport_data); in handle_setup()
546 if let Some(range) = RtspRange::unmarshal(range_str) { in handle_record()

12