Home
last modified time | relevance | path

Searched refs:Fmtp (Results 1 – 3 of 3) sorted by relevance

/xiu/protocol/rtsp/src/sdp/
H A Dfmtp.rs33 pub enum Fmtp { enum
39 impl Fmtp { implementation
40 pub fn new(codec: &str, raw_data: &str) -> Option<Fmtp> { in new() argument
44 return Some(Fmtp::H264(h264_fmtp)); in new()
49 return Some(Fmtp::H265(h265_fmtp)); in new()
54 return Some(Fmtp::Mpeg4(mpeg4_fmtp)); in new()
64 Fmtp::H264(h264fmtp) => h264fmtp.marshal(), in marshal()
65 Fmtp::H265(h265fmtp) => h265fmtp.marshal(), in marshal()
66 Fmtp::Mpeg4(mpeg4fmtp) => mpeg4fmtp.marshal(), in marshal()
H A Dmod.rs8 use self::fmtp::Fmtp;
67 pub fmtp: Option<fmtp::Fmtp>,
271 Fmtp::new(&cur_media.rtpmap.encoding_name, attr_value); in unmarshal()
/xiu/protocol/rtsp/src/session/
H A Dmod.rs13 use crate::sdp::fmtp::Fmtp;
748 Fmtp::H264(data) => { in send_prior_data()
763 Fmtp::H265(data) => { in send_prior_data()
781 Fmtp::Mpeg4(data) => { in send_prior_data()