Lines Matching full:label
225 std::shared_ptr<VideoSink> Streamer::AddDisplay(const std::string& label, in AddDisplay() argument
231 [this, &label, width, height, dpi, in AddDisplay()
233 if (impl_->displays_.count(label)) { in AddDisplay()
234 LOG(ERROR) << "Display with same label already exists: " << label; in AddDisplay()
239 impl_->displays_[label] = {width, height, dpi, touch_enabled, source}; in AddDisplay()
245 std::shared_ptr<AudioSink> Streamer::AddAudioStream(const std::string& label) { in AddAudioStream() argument
248 RTC_FROM_HERE, [this, &label]() -> std::shared_ptr<AudioSink> { in AddAudioStream()
249 if (impl_->audio_sources_.count(label)) { in AddAudioStream()
250 LOG(ERROR) << "Audio stream with same label already exists: " in AddAudioStream()
251 << label; in AddAudioStream()
256 impl_->audio_sources_[label] = source; in AddAudioStream()
594 auto& label = entry.first; in CreateClientHandler() local
598 peer_connection_factory_->CreateVideoTrack(label, video_source.get()); in CreateClientHandler()
599 client_handler->AddDisplay(video_track, label); in CreateClientHandler()
603 auto& label = entry.first; in CreateClientHandler() local
606 peer_connection_factory_->CreateAudioTrack(label, audio_stream.get()); in CreateClientHandler()
607 client_handler->AddAudio(audio_track, label); in CreateClientHandler()