Lines Matching refs:streams
130 bool GetStream(const StreamParamsVec& streams,
133 for (StreamParamsVec::const_iterator stream = streams.begin();
134 stream != streams.end(); ++stream) {
145 bool GetStreamBySsrc(const StreamParamsVec& streams, uint32 ssrc,
147 return GetStream(streams, StreamSelector(ssrc), stream_out);
150 bool GetStreamByIds(const StreamParamsVec& streams,
154 return GetStream(streams, StreamSelector(groupid, id), stream_out);
157 bool RemoveStream(StreamParamsVec* streams,
160 for (StreamParamsVec::iterator stream = streams->begin();
161 stream != streams->end(); ) {
163 stream = streams->erase(stream);
172 bool RemoveStreamBySsrc(StreamParamsVec* streams, uint32 ssrc) {
173 return RemoveStream(streams, StreamSelector(ssrc));
176 bool RemoveStreamByIds(StreamParamsVec* streams,
179 return RemoveStream(streams, StreamSelector(groupid, id));