Lines Matching refs:changed_params
732 ChangedSendParameters* changed_params) const { in GetChangedSendParameters()
756 changed_params->send_codec = absl::nullopt; in GetChangedSendParameters()
758 changed_params->send_codec = negotiated_codecs.front(); in GetChangedSendParameters()
760 changed_params->negotiated_codecs = std::move(negotiated_codecs); in GetChangedSendParameters()
765 changed_params->extmap_allow_mixed = params.extmap_allow_mixed; in GetChangedSendParameters()
770 changed_params->rtp_header_extensions = in GetChangedSendParameters()
775 changed_params->mid = params.mid; in GetChangedSendParameters()
784 changed_params->max_bandwidth_bps = in GetChangedSendParameters()
790 changed_params->conference_mode = params.conference_mode; in GetChangedSendParameters()
795 changed_params->rtcp_mode = params.rtcp.reduced_size in GetChangedSendParameters()
807 ChangedSendParameters changed_params; in SetSendParameters() local
808 if (!GetChangedSendParameters(params, &changed_params)) { in SetSendParameters()
812 if (changed_params.negotiated_codecs) { in SetSendParameters()
813 for (const auto& send_codec : *changed_params.negotiated_codecs) in SetSendParameters()
818 return ApplyChangedParams(changed_params); in SetSendParameters()
916 const ChangedSendParameters& changed_params) { in ApplyChangedParams() argument
918 if (changed_params.negotiated_codecs) in ApplyChangedParams()
919 negotiated_codecs_ = *changed_params.negotiated_codecs; in ApplyChangedParams()
921 if (changed_params.send_codec) in ApplyChangedParams()
922 send_codec_ = changed_params.send_codec; in ApplyChangedParams()
924 if (changed_params.extmap_allow_mixed) { in ApplyChangedParams()
925 SetExtmapAllowMixed(*changed_params.extmap_allow_mixed); in ApplyChangedParams()
927 if (changed_params.rtp_header_extensions) { in ApplyChangedParams()
928 send_rtp_extensions_ = changed_params.rtp_header_extensions; in ApplyChangedParams()
931 if (changed_params.send_codec || changed_params.max_bandwidth_bps) { in ApplyChangedParams()
946 if (!changed_params.send_codec) { in ApplyChangedParams()
971 kv.second->SetSendParameters(changed_params); in ApplyChangedParams()
973 if (changed_params.send_codec || changed_params.rtcp_mode) { in ApplyChangedParams()
1102 ChangedRecvParameters* changed_params) const { in GetChangedRecvParameters()
1132 changed_params->codec_settings = in GetChangedRecvParameters()
1140 changed_params->rtp_header_extensions = in GetChangedRecvParameters()
1146 changed_params->flexfec_payload_type = flexfec_payload_type; in GetChangedRecvParameters()
1156 ChangedRecvParameters changed_params; in SetRecvParameters() local
1157 if (!GetChangedRecvParameters(params, &changed_params)) { in SetRecvParameters()
1160 if (changed_params.flexfec_payload_type) { in SetRecvParameters()
1163 << *changed_params.flexfec_payload_type; in SetRecvParameters()
1164 recv_flexfec_payload_type_ = *changed_params.flexfec_payload_type; in SetRecvParameters()
1166 if (changed_params.rtp_header_extensions) { in SetRecvParameters()
1167 recv_rtp_extensions_ = *changed_params.rtp_header_extensions; in SetRecvParameters()
1169 if (changed_params.codec_settings) { in SetRecvParameters()
1173 *changed_params.codec_settings); in SetRecvParameters()
1174 recv_codecs_ = *changed_params.codec_settings; in SetRecvParameters()
1178 kv.second->SetRecvParameters(changed_params); in SetRecvParameters()