Home | History | Annotate | Download | only in base

Lines Matching defs:ssrc

35 // Let the simulcast elements have SSRC 10, 20, 30.
37 // SSRC 11,21,31.
39 // StreamParams would then contain ssrc = {10,11,20,21,30,31} and
80 static StreamParams CreateLegacy(uint32_t ssrc) {
82 stream.ssrcs.push_back(ssrc);
110 bool has_ssrc(uint32_t ssrc) const {
111 return std::find(ssrcs.begin(), ssrcs.end(), ssrc) != ssrcs.end();
113 void add_ssrc(uint32_t ssrc) { ssrcs.push_back(ssrc); }
130 // Convenience function to add an FID ssrc for a primary_ssrc
136 // Convenience function to lookup the FID ssrc for a primary_ssrc.
143 // the first SSRC otherwise.
147 // If a given primary SSRC does not have a FID SSRC, the list of FID
178 // A Stream can be selected by either groupid+id or ssrc.
180 explicit StreamSelector(uint32_t ssrc) : ssrc(ssrc) {}
184 ssrc(0),
190 if (ssrc == 0) {
193 return stream.has_ssrc(ssrc);
197 uint32_t ssrc;
206 // by ssrc, which is the source identifier in the RTP spec
284 uint32_t ssrc) {
286 [&ssrc](const StreamParams& sp) { return sp.has_ssrc(ssrc); });
320 inline bool RemoveStreamBySsrc(StreamParamsVec* streams, uint32_t ssrc) {
322 [&ssrc](const StreamParams& sp) { return sp.has_ssrc(ssrc); });