Lines Matching refs: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 ssrc) {
82 stream.ssrcs.push_back(ssrc);
110 bool has_ssrc(uint32 ssrc) const {
111 return std::find(ssrcs.begin(), ssrcs.end(), ssrc) != ssrcs.end();
113 void add_ssrc(uint32 ssrc) {
114 ssrcs.push_back(ssrc);
132 // Convenience function to add an FID ssrc for a primary_ssrc
138 // Convenience function to lookup the FID ssrc for a primary_ssrc.
168 // A Stream can be selected by either groupid+id or ssrc.
170 explicit StreamSelector(uint32 ssrc) :
171 ssrc(ssrc) {
176 ssrc(0),
182 if (ssrc == 0) {
185 return stream.has_ssrc(ssrc);
189 uint32 ssrc;
200 bool GetStreamBySsrc(const StreamParamsVec& streams, uint32 ssrc,
211 bool RemoveStreamBySsrc(StreamParamsVec* streams, uint32 ssrc);