Searched refs:answer_params (Results 1 – 2 of 2) sorted by relevance
97 bool SrtpFilter::SetAnswer(const std::vector<CryptoParams>& answer_params, in SetAnswer() argument104 if (!answer_params.empty()) { in SetAnswer()106 ret = NegotiateParams(answer_params, &selected_params); in SetAnswer()109 ret = ApplyParams(selected_params, answer_params[0]); in SetAnswer()111 ret = ApplyParams(answer_params[0], selected_params); in SetAnswer()163 bool SrtpFilter::NegotiateParams(const std::vector<CryptoParams>& answer_params, in NegotiateParams() argument167 bool ret = (answer_params.size() == 1U && !offer_params_.empty()); in NegotiateParams()172 if (answer_params[0].Matches(*it)) { in NegotiateParams()
115 bool SetAnswer(const std::vector<CryptoParams>& answer_params,130 bool NegotiateParams(const std::vector<CryptoParams>& answer_params,