Lines Matching defs:ssrcs
28 // This file contains structures for describing SSRCs from a media source such
32 // SsrcGroup is used to describe the relationship between the SSRCs that
61 SsrcGroup(const std::string& usage, const std::vector<uint32_t>& ssrcs)
62 : semantics(usage), ssrcs(ssrcs) {}
65 return (semantics == other.semantics && ssrcs == other.ssrcs);
76 std::vector<uint32_t> ssrcs; // SSRCs of this type.
82 stream.ssrcs.push_back(ssrc);
89 ssrcs == other.ssrcs &&
101 if (ssrcs.empty()) {
105 return ssrcs[0];
108 return !ssrcs.empty();
111 return std::find(ssrcs.begin(), ssrcs.end(), ssrc) != ssrcs.end();
113 void add_ssrc(uint32_t ssrc) { ssrcs.push_back(ssrc); }
142 // Convenience to get all the SIM SSRCs if there are SIM ssrcs, or
144 void GetPrimarySsrcs(std::vector<uint32_t>* ssrcs) const;
146 // Convenience to get all the FID SSRCs for the given primary ssrcs.
148 // SSRCS will be smaller than the list of primary SSRCs.
160 std::vector<uint32_t> ssrcs; // All SSRCs for this source