Home
last modified time | relevance | path

Searched refs:codec_preference (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/pc/
Drtp_transceiver.cc67 for (const auto& codec_preference : codecs) { in VerifyCodecPreferences() local
69 absl::c_any_of(recv_codecs, [&codec_preference](const T& codec) { in VerifyCodecPreferences()
70 return codec.MatchesCapability(codec_preference); in VerifyCodecPreferences()
74 absl::c_any_of(send_codecs, [&codec_preference](const T& codec) { in VerifyCodecPreferences()
75 return codec.MatchesCapability(codec_preference); in VerifyCodecPreferences()
82 codec_preference.name + "\"."); in VerifyCodecPreferences()
Dmedia_session.cc937 for (const auto& codec_preference : codec_preferences) { in MatchCodecPreference() local
939 codecs, [&codec_preference](const typename Codecs::value_type& codec) { in MatchCodecPreference()
942 return codec_parameters.name == codec_preference.name && in MatchCodecPreference()
943 codec_parameters.kind == codec_preference.kind && in MatchCodecPreference()
945 codec_preference.num_channels && in MatchCodecPreference()
946 codec_parameters.clock_rate == codec_preference.clock_rate && in MatchCodecPreference()
947 codec_parameters.parameters == codec_preference.parameters; in MatchCodecPreference()
953 } else if (IsRtxCodec(codec_preference)) { in MatchCodecPreference()