Lines Matching refs:sender
372 for (const auto& sender : senders) { in AddSendStreams() local
373 session_options->AddSendStream(sender->media_type(), sender->id(), in AddSendStreams()
374 sender->stream_id()); in AddSendStreams()
580 for (const auto& sender : senders_) { in ~PeerConnection() local
581 sender->Stop(); in ~PeerConnection()
749 rtc::scoped_refptr<DtmfSenderInterface> sender( in CreateDtmfSender() local
751 if (!sender.get()) { in CreateDtmfSender()
755 return DtmfSenderProxy::Create(signaling_thread(), sender.get()); in CreateDtmfSender()
781 for (const auto& sender : senders_) { in GetSenders() local
782 senders.push_back(RtpSenderProxy::Create(signaling_thread(), sender.get())); in GetSenders()
1349 auto sender = FindSenderForTrack(track); in OnAudioTrackAdded() local
1350 if (sender != senders_.end()) { in OnAudioTrackAdded()
1353 (*sender)->set_stream_id(stream->label()); in OnAudioTrackAdded()
1378 auto sender = FindSenderForTrack(track); in OnAudioTrackRemoved() local
1379 if (sender == senders_.end()) { in OnAudioTrackRemoved()
1384 (*sender)->Stop(); in OnAudioTrackRemoved()
1385 senders_.erase(sender); in OnAudioTrackRemoved()
1390 auto sender = FindSenderForTrack(track); in OnVideoTrackAdded() local
1391 if (sender != senders_.end()) { in OnVideoTrackAdded()
1394 (*sender)->set_stream_id(stream->label()); in OnVideoTrackAdded()
1411 auto sender = FindSenderForTrack(track); in OnVideoTrackRemoved() local
1412 if (sender == senders_.end()) { in OnVideoTrackRemoved()
1417 (*sender)->Stop(); in OnVideoTrackRemoved()
1418 senders_.erase(sender); in OnVideoTrackRemoved()
1699 RtpSenderInterface* sender = FindSenderById(track_id); in OnLocalTrackSeen() local
1700 if (!sender) { in OnLocalTrackSeen()
1706 if (sender->media_type() != media_type) { in OnLocalTrackSeen()
1712 sender->set_stream_id(stream_label); in OnLocalTrackSeen()
1713 sender->SetSsrc(ssrc); in OnLocalTrackSeen()
1720 RtpSenderInterface* sender = FindSenderById(track_id); in OnLocalTrackRemoved() local
1721 if (!sender) { in OnLocalTrackRemoved()
1730 if (sender->media_type() != media_type) { in OnLocalTrackRemoved()
1736 sender->SetSsrc(0); in OnLocalTrackRemoved()
1962 [id](const rtc::scoped_refptr<RtpSenderInterface>& sender) { in FindSenderById() argument
1963 return sender->id() == id; in FindSenderById()
1972 [track](const rtc::scoped_refptr<RtpSenderInterface>& sender) { in FindSenderForTrack() argument
1973 return sender->track() == track; in FindSenderForTrack()