Lines Matching refs:candidate
286 uint32_t candidate;
288 candidate = rtc::CreateRandomNonZeroId();
289 } while (GetStreamBySsrc(params_vec, candidate) ||
290 std::count(ssrcs->begin(), ssrcs->end(), candidate) > 0);
291 ssrcs->push_back(candidate);
303 uint32_t candidate = rtc::CreateRandomNonZeroId() % kMaxSctpSid;
304 if (!GetStreamBySsrc(params_vec, candidate)) {
305 *sid = candidate;