Home
last modified time | relevance | path

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

/external/webrtc/media/engine/
Dwebrtc_video_engine.cc738 std::vector<VideoCodecSettings> negotiated_codecs = in GetChangedSendParameters() local
742 if (params.is_stream_active && negotiated_codecs.empty()) { in GetChangedSendParameters()
750 for (VideoCodecSettings& codec : negotiated_codecs) in GetChangedSendParameters()
754 if (negotiated_codecs_ != negotiated_codecs) { in GetChangedSendParameters()
755 if (negotiated_codecs.empty()) { in GetChangedSendParameters()
757 } else if (send_codec_ != negotiated_codecs.front()) { in GetChangedSendParameters()
758 changed_params->send_codec = negotiated_codecs.front(); in GetChangedSendParameters()
760 changed_params->negotiated_codecs = std::move(negotiated_codecs); in GetChangedSendParameters()
812 if (changed_params.negotiated_codecs) { in SetSendParameters()
813 for (const auto& send_codec : *changed_params.negotiated_codecs) in SetSendParameters()
[all …]
Dwebrtc_video_engine.h279 absl::optional<std::vector<VideoCodecSettings>> negotiated_codecs; member
/external/webrtc/pc/
Dmedia_session.cc769 std::vector<C>* negotiated_codecs, in NegotiateCodecs() argument
792 negotiated_codecs->push_back(std::move(negotiated)); in NegotiateCodecs()
806 absl::c_sort(*negotiated_codecs, [&payload_type_preferences](const C& a, in NegotiateCodecs()
1202 std::vector<C> negotiated_codecs; in SetCodecsInAnswer() local
1203 NegotiateCodecs(local_codecs, offer->codecs(), &negotiated_codecs, in SetCodecsInAnswer()
1205 answer->AddCodecs(negotiated_codecs); in SetCodecsInAnswer()