Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/session/phone/
Dsrtpfilter.cc97 bool SrtpFilter::SetAnswer(const std::vector<CryptoParams>& answer_params, in SetAnswer() argument
104 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() argument
167 bool ret = (answer_params.size() == 1U && !offer_params_.empty()); in NegotiateParams()
172 if (answer_params[0].Matches(*it)) { in NegotiateParams()
Dsrtpfilter.h115 bool SetAnswer(const std::vector<CryptoParams>& answer_params,
130 bool NegotiateParams(const std::vector<CryptoParams>& answer_params,