| /xiu/protocol/rtsp/src/sdp/ |
| H A D | fmtp.rs | 43 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 D | mod.rs | 18 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 D | rtpmap.rs | 15 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 D | rtsp_range.rs | 21 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 D | global_trait.rs | 2 fn unmarshal(request_data: &str) -> Option<Self> in unmarshal() method
|
| H A D | rtsp_transport.rs | 31 fn unmarshal(raw_data: &str) -> Option<Self> { in unmarshal() method 162 let parser = RtspTransport::unmarshal( in test_parse_transport()
|
| H A D | rtsp_channel.rs | 173 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 D | rtcp_rr.rs | 22 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 D | rtcp_sr.rs | 59 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 D | rtcp_app.rs | 30 fn unmarshal(data: BytesMut) -> Result<Self, RtcpError> in unmarshal() method 37 rtcp_app.header = RtcpHeader::unmarshal(&mut reader)?; in unmarshal()
|
| H A D | rtcp_bye.rs | 30 fn unmarshal(data: BytesMut) -> Result<Self, RtcpError> in unmarshal() method 37 header: RtcpHeader::unmarshal(&mut reader)?, in unmarshal()
|
| H A D | rtcp_header.rs | 24 fn unmarshal(reader: &mut BytesReader) -> Result<Self, RtcpError> in unmarshal() method
|
| /xiu/protocol/webrtc/src/http/ |
| H A D | mod.rs | 12 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 D | lib.rs | 11 fn unmarshal(reader: T1) -> T2 in unmarshal() method
|
| H A D | flv_tag_header.rs | 84 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 D | demuxer.rs | 132 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 D | mod.rs | 33 fn unmarshal(reader: &mut BytesReader) -> Result<Self, BytesReadError> in unmarshal() method 38 header: RtpHeader::unmarshal(reader)?, in unmarshal()
|
| H A D | rtp_header.rs | 26 fn unmarshal(reader: &mut BytesReader) -> Result<Self, BytesReadError> in unmarshal() method
|
| H A D | rtp_aac.rs | 119 let rtp_packet = RtpPacket::unmarshal(reader)?; in unpack()
|
| H A D | utils.rs | 17 fn unmarshal(data: T1) -> T2 in unmarshal() method
|
| H A D | rtp_h265.rs | 183 let rtp_packet = RtpPacket::unmarshal(reader)?; in unpack()
|
| H A D | rtp_h264.rs | 164 let rtp_packet = RtpPacket::unmarshal(reader)?; in unpack()
|
| /xiu/protocol/rtsp/src/http/ |
| H A D | mod.rs | 26 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 D | mod.rs | 93 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 D | mod.rs | 180 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()
|