Lines Matching refs:ssrcs
25 const std::vector<uint32_t>& ssrcs, in FindAssociatedSsrc() argument
27 RTC_DCHECK_EQ(ssrcs.size(), associated_ssrcs.size()); in FindAssociatedSsrc()
28 for (size_t i = 0; i < ssrcs.size(); ++i) { in FindAssociatedSsrc()
29 if (ssrcs[i] == ssrc) in FindAssociatedSsrc()
78 for (size_t i = 0; i < ssrcs.size(); ++i) { in ToString()
79 ss << ssrcs[i]; in ToString()
80 if (i != ssrcs.size() - 1) in ToString()
134 for (size_t i = 0; i < ssrcs.size(); ++i) { in ToString()
135 ss << ssrcs[i]; in ToString()
136 if (i != ssrcs.size() - 1) in ToString()
147 return absl::c_linear_search(ssrcs, ssrc); in IsMediaSsrc()
151 return absl::c_linear_search(rtx.ssrcs, ssrc); in IsRtxSsrc()
162 if (rtx.ssrcs.empty()) in GetRtxSsrcAssociatedWithMediaSsrc()
165 RTC_DCHECK_EQ(ssrcs.size(), rtx.ssrcs.size()); in GetRtxSsrcAssociatedWithMediaSsrc()
166 return FindAssociatedSsrc(media_ssrc, ssrcs, rtx.ssrcs); in GetRtxSsrcAssociatedWithMediaSsrc()
172 RTC_DCHECK_EQ(ssrcs.size(), rtx.ssrcs.size()); in GetMediaSsrcAssociatedWithRtxSsrc()
173 return FindAssociatedSsrc(rtx_ssrc, rtx.ssrcs, ssrcs); in GetMediaSsrcAssociatedWithRtxSsrc()
193 auto it = std::find(ssrcs.begin(), ssrcs.end(), ssrc); in GetRidForSsrc()
194 if (it != ssrcs.end()) { in GetRidForSsrc()
195 size_t ssrc_index = std::distance(ssrcs.begin(), it); in GetRidForSsrc()