• Home
  • Raw
  • Download

Lines Matching refs:StreamParams

79 struct StreamParams {  struct
80 static StreamParams CreateLegacy(uint32_t ssrc) { in CreateLegacy() argument
81 StreamParams stream; in CreateLegacy()
86 bool operator==(const StreamParams& other) const {
96 bool operator!=(const StreamParams &other) const {
189 bool Matches(const StreamParams& stream) const { in Matches() argument
202 typedef std::vector<StreamParams> StreamParamsVec;
219 std::vector<StreamParams>* mutable_audio() { return &audio_; } in mutable_audio()
220 std::vector<StreamParams>* mutable_video() { return &video_; } in mutable_video()
221 std::vector<StreamParams>* mutable_data() { return &data_; } in mutable_data()
222 const std::vector<StreamParams>& audio() const { return audio_; } in audio()
223 const std::vector<StreamParams>& video() const { return video_; } in video()
224 const std::vector<StreamParams>& data() const { return data_; } in data()
228 const StreamSelector& selector, StreamParams* stream);
230 const StreamSelector& selector, StreamParams* stream);
232 const StreamSelector& selector, StreamParams* stream);
234 void AddAudioStream(const StreamParams& stream);
235 void AddVideoStream(const StreamParams& stream);
236 void AddDataStream(const StreamParams& stream);
243 std::vector<StreamParams> audio_;
244 std::vector<StreamParams> video_;
245 std::vector<StreamParams> data_;
276 const StreamParams* GetStream(const StreamParamsVec& streams, in GetStream()
283 inline const StreamParams* GetStreamBySsrc(const StreamParamsVec& streams, in GetStreamBySsrc()
286 [&ssrc](const StreamParams& sp) { return sp.has_ssrc(ssrc); }); in GetStreamBySsrc()
289 inline const StreamParams* GetStreamByIds(const StreamParamsVec& streams, in GetStreamByIds()
293 [&groupid, &id](const StreamParams& sp) { in GetStreamByIds()
298 inline const StreamParams* GetStream(const StreamParamsVec& streams, in GetStream()
301 [&selector](const StreamParams& sp) { return selector.Matches(sp); }); in GetStream()
318 [&selector](const StreamParams& sp) { return selector.Matches(sp); }); in RemoveStream()
322 [&ssrc](const StreamParams& sp) { return sp.has_ssrc(ssrc); }); in RemoveStreamBySsrc()
328 [&groupid, &id](const StreamParams& sp) { in RemoveStreamByIds()
336 bool IsOneSsrcStream(const StreamParams& sp);
341 bool IsSimulcastStream(const StreamParams& sp);