Home
last modified time | relevance | path

Searched refs:receivers_ (Results 1 – 6 of 6) sorted by relevance

/external/openscreen/osp/impl/
Dreceiver_list.cc16 receivers_.emplace_back(info); in OnReceiverAdded()
20 auto existing_info = std::find_if(receivers_.begin(), receivers_.end(), in OnReceiverChanged()
24 if (existing_info == receivers_.end()) in OnReceiverChanged()
32 const auto it = std::remove(receivers_.begin(), receivers_.end(), info); in OnReceiverRemoved()
33 if (it == receivers_.end()) in OnReceiverRemoved()
36 receivers_.erase(it, receivers_.end()); in OnReceiverRemoved()
41 const auto empty = receivers_.empty(); in OnAllReceiversRemoved()
42 receivers_.clear(); in OnAllReceiversRemoved()
Dreceiver_list.h29 const std::vector<ServiceInfo>& receivers() const { return receivers_; } in receivers()
32 std::vector<ServiceInfo> receivers_;
/external/openscreen/cast/streaming/
Dreceiver_packet_router.cc23 OSP_DCHECK(receivers_.empty()); in ~ReceiverPacketRouter()
28 OSP_DCHECK(receivers_.find(sender_ssrc) == receivers_.end()); in OnReceiverCreated()
29 receivers_.emplace_back(sender_ssrc, receiver); in OnReceiverCreated()
34 if (receivers_.size() == 1) { in OnReceiverCreated()
41 receivers_.erase_key(sender_ssrc); in OnReceiverDestroyed()
43 if (receivers_.empty()) { in OnReceiverDestroyed()
82 auto it = receivers_.find(seems_like.second); in OnReceivedPacket()
83 if (it == receivers_.end()) { in OnReceivedPacket()
Dreceiver_packet_router.h55 FlatMap<Ssrc, Receiver*> receivers_; variable
/external/webrtc/pc/
Drtp_transceiver.cc122 receivers_.push_back(receiver); in RtpTransceiver()
155 for (const auto& receiver : receivers_) { in SetChannel()
196 RTC_DCHECK(!absl::c_linear_search(receivers_, receiver)); in AddReceiver()
197 receivers_.push_back(receiver); in AddReceiver()
205 auto it = absl::c_find(receivers_, receiver); in RemoveReceiver()
206 if (it == receivers_.end()) { in RemoveReceiver()
215 receivers_.erase(it); in RemoveReceiver()
228 RTC_CHECK_EQ(1u, receivers_.size()); in receiver_internal()
229 return receivers_[0]->internal(); in receiver_internal()
241 for (const auto& receiver : receivers_) { in OnFirstPacketReceived()
[all …]
Drtp_transceiver.h114 return receivers_; in receivers()
211 receivers_; variable