Home
last modified time | relevance | path

Searched refs:CodecMatch (Results 1 – 5 of 5) sorted by relevance

/webrtc/webrtc/src/rtp_transceiver/
H A Drtp_codec.rs124 pub(crate) enum CodecMatch { enum
137 ) -> (RTCRtpCodecParameters, CodecMatch) { in codec_parameters_fuzzy_search() argument
149 return (c.clone(), CodecMatch::Exact); in codec_parameters_fuzzy_search()
156 return (c.clone(), CodecMatch::Partial); in codec_parameters_fuzzy_search()
160 (RTCRtpCodecParameters::default(), CodecMatch::None) in codec_parameters_fuzzy_search()
H A Dmod.rs232 if match_type == CodecMatch::None { in set_codec_preferences()
/webrtc/webrtc/src/api/media_engine/
H A Dmod.rs10 codec_parameters_fuzzy_search, CodecMatch, RTCRtpCodecCapability, RTCRtpCodecParameters,
483 ) -> Result<CodecMatch> { in match_remote_codec() argument
497 let mut apt_match = CodecMatch::None; in match_remote_codec()
500 apt_match = CodecMatch::Exact; in match_remote_codec()
505 if apt_match == CodecMatch::None { in match_remote_codec()
508 apt_match = CodecMatch::Partial; in match_remote_codec()
514 if apt_match == CodecMatch::None { in match_remote_codec()
520 if match_type == CodecMatch::Exact && apt_match == CodecMatch::Partial { in match_remote_codec()
521 match_type = CodecMatch::Partial; in match_remote_codec()
622 if match_type == CodecMatch::Exact { in update_from_remote_description()
[all …]
/webrtc/webrtc/src/track/track_local/
H A Dtrack_local_static_rtp.rs148 if match_type != CodecMatch::None { in bind()
/webrtc/webrtc/src/rtp_transceiver/rtp_receiver/
H A Dmod.rs9 codec_parameters_fuzzy_search, CodecMatch, RTCRtpCodecCapability, RTCRtpCodecParameters,
340 if match_type != CodecMatch::None { in get_codecs()