Home
last modified time | relevance | path

Searched refs:content_name (Results 1 – 25 of 41) sorted by relevance

12

/external/webrtc/p2p/base/
Dtransport_info.h30 TransportInfo(const std::string& content_name, in TransportInfo()
32 : content_name(content_name), description(description) {} in TransportInfo()
34 std::string content_name; member
Dport_allocator.cc60 PortAllocatorSession::PortAllocatorSession(const std::string& content_name, in PortAllocatorSession() argument
67 content_name_(content_name), in PortAllocatorSession()
209 const std::string& content_name, in CreateSession() argument
215 CreateSessionInternal(content_name, component, ice_ufrag, ice_pwd)); in CreateSession()
221 const std::string& content_name, in TakePooledSession() argument
245 ret->SetIceParameters(content_name, component, ice_ufrag, ice_pwd); in TakePooledSession()
Dport_allocator.h191 PortAllocatorSession(const std::string& content_name,
202 std::string content_name() const { return content_name_; } in content_name() function
303 void SetIceParameters(const std::string& content_name, in SetIceParameters() argument
307 content_name_ = content_name; in SetIceParameters()
405 const std::string& content_name,
418 const std::string& content_name,
608 const std::string& content_name,
Dfake_port_allocator.h81 const std::string& content_name, in FakePortAllocatorSession() argument
85 : PortAllocatorSession(content_name, in FakePortAllocatorSession()
233 const std::string& content_name, in CreateSessionInternal() argument
238 content_name, component, ice_ufrag, in CreateSessionInternal()
Dport_allocator_unittest.cc50 const std::string& content_name, in CreateSession() argument
57 ->CreateSession(content_name, component, ice_ufrag, ice_pwd) in CreateSession()
108 EXPECT_EQ(kContentName, session->content_name()); in TEST_F()
255 EXPECT_EQ(kContentName, session->content_name()); in TEST_F()
Dport.h220 const std::string& content_name() const { return content_name_; } in content_name() function
221 void set_content_name(const std::string& content_name) { in set_content_name() argument
222 content_name_ = content_name; in set_content_name()
/external/webrtc/pc/
Dchannel.cc129 const std::string& content_name, in BaseChannel() argument
136 content_name_(content_name), in BaseChannel()
143 demuxer_criteria_.mid = content_name; in BaseChannel()
603 << content_name() << "'."; in UpdateLocalStreams_w()
629 << " into m-section with mid='" << content_name() in UpdateLocalStreams_w()
650 << " into m-section with mid='" << content_name() << "'"; in UpdateLocalStreams_w()
681 << content_name() << "'."; in UpdateRemoteStreams_w()
792 const std::string& content_name, in VoiceChannel() argument
800 content_name, in VoiceChannel()
865 content_name() + "'.", in SetLocalContent_w()
[all …]
Dsession_description.cc71 bool ContentGroup::HasContentName(const std::string& content_name) const { in HasContentName()
72 return absl::c_linear_search(content_names_, content_name); in HasContentName()
75 void ContentGroup::AddContentName(const std::string& content_name) { in AddContentName() argument
76 if (!HasContentName(content_name)) { in AddContentName()
77 content_names_.push_back(content_name); in AddContentName()
81 bool ContentGroup::RemoveContentName(const std::string& content_name) { in RemoveContentName() argument
82 ContentNames::iterator iter = absl::c_find(content_names_, content_name); in RemoveContentName()
203 if (transport_info->content_name == name) { in RemoveTransportInfoByName()
215 if (iter->content_name == name) { in GetTransportInfoByName()
226 if (iter->content_name == name) { in GetTransportInfoByName()
Dchannel_manager.cc191 const std::string& content_name, in CreateVoiceChannel() argument
199 signaling_thread, content_name, srtp_required, in CreateVoiceChannel()
219 absl::WrapUnique(media_channel), content_name, srtp_required, in CreateVoiceChannel()
259 const std::string& content_name, in CreateVideoChannel() argument
268 signaling_thread, content_name, srtp_required, in CreateVideoChannel()
290 absl::WrapUnique(media_channel), content_name, srtp_required, in CreateVideoChannel()
329 const std::string& content_name, in CreateRtpDataChannel() argument
336 content_name, srtp_required, crypto_options, in CreateRtpDataChannel()
351 absl::WrapUnique(media_channel), content_name, srtp_required, in CreateRtpDataChannel()
Dpeer_connection_internal.h79 virtual bool IceRestartPending(const std::string& content_name) const = 0;
85 virtual bool NeedsIceRestart(const std::string& content_name) const = 0;
88 virtual bool GetSslRole(const std::string& content_name,
Dchannel_manager.h104 const std::string& content_name,
120 const std::string& content_name,
133 const std::string& content_name,
Djsep_transport_controller.cc671 for (const std::string& content_name : new_bundle_group->content_names()) { in ValidateAndMaybeUpdateBundleGroup() local
672 if (!description->GetContentByName(content_name)) { in ValidateAndMaybeUpdateBundleGroup()
674 "The BUNDLE group contains MID='" + content_name + in ValidateAndMaybeUpdateBundleGroup()
687 for (const std::string& content_name : in ValidateAndMaybeUpdateBundleGroup() local
690 !offered_bundle_group->HasContentName(content_name)) { in ValidateAndMaybeUpdateBundleGroup()
693 content_name + in ValidateAndMaybeUpdateBundleGroup()
701 for (const std::string& content_name : bundle_group_->content_names()) { in ValidateAndMaybeUpdateBundleGroup() local
705 !new_bundle_group->HasContentName(content_name)) { in ValidateAndMaybeUpdateBundleGroup()
706 auto* content_info = description->GetContentByName(content_name); in ValidateAndMaybeUpdateBundleGroup()
710 content_name + in ValidateAndMaybeUpdateBundleGroup()
[all …]
Dchannel.h87 const std::string& content_name,
100 const std::string& content_name() const override { return content_name_; } in content_name() function
334 const std::string& content_name,
375 const std::string& content_name,
417 const std::string& content_name,
Dmedia_session.cc494 if (bundle_group.HasContentName(transport_info.content_name) && in UpdateTransportInfoForBundle()
495 transport_info.content_name != selected_content_name) { in UpdateTransportInfoForBundle()
507 const std::string& content_name, in GetCryptosByName() argument
512 const ContentInfo* content = sdesc->GetContentByName(content_name); in GetCryptosByName()
543 const std::string& content_name) { in IsRtpContent() argument
545 ContentInfo* content = sdesc->GetContentByName(content_name); in IsRtpContent()
568 for (const std::string& content_name : content_names) { in UpdateCryptoParamsForBundle() local
569 if (!IsRtpContent(sdesc, content_name)) { in UpdateCryptoParamsForBundle()
574 if (!sdesc->GetTransportInfoByName(content_name)->description.secure()) { in UpdateCryptoParamsForBundle()
580 if (!GetCryptosByName(sdesc, content_name, &common_cryptos)) { in UpdateCryptoParamsForBundle()
[all …]
Dmedia_session.h212 bool AddTransportOffer(const std::string& content_name,
219 const std::string& content_name,
226 bool AddTransportAnswer(const std::string& content_name,
Dchannel_interface.h38 virtual const std::string& content_name() const = 0;
Dpeer_connection.h302 bool IceRestartPending(const std::string& content_name) const override;
303 bool NeedsIceRestart(const std::string& content_name) const override;
304 bool GetSslRole(const std::string& content_name, rtc::SSLRole* role) override;
890 cricket::ChannelInterface* GetChannel(const std::string& content_name);
934 const std::string& content_name,
948 bool GetLocalCandidateMediaIndex(const std::string& content_name,
1071 const std::string GetTransportName(const std::string& content_name)
Dstats_collector.h118 StatsReport* AddConnectionInfoReport(const std::string& content_name,
Djsep_session_description.cc228 const std::string& content_name = in AddCandidate() local
231 description_->GetTransportInfoByName(content_name); in AddCandidate()
Dsession_description.h467 bool HasContentName(const std::string& content_name) const;
468 void AddContentName(const std::string& content_name);
469 bool RemoveContentName(const std::string& content_name);
/external/webrtc/api/
Dstats_types.cc145 ComponentId(const std::string& content_name, int component) in ComponentId() argument
147 content_name, in ComponentId()
161 const std::string& content_name, in ComponentId() argument
163 : IdBase(type), content_name_(content_name), component_(component) {} in ComponentId()
180 CandidatePairId(const std::string& content_name, int component, int index) in CandidatePairId() argument
182 content_name, in CandidatePairId()
719 StatsReport::Id StatsReport::NewComponentId(const std::string& content_name, in NewComponentId() argument
721 return Id(new RefCountedObject<ComponentId>(content_name, component)); in NewComponentId()
725 StatsReport::Id StatsReport::NewCandidatePairId(const std::string& content_name, in NewCandidatePairId() argument
729 new RefCountedObject<CandidatePairId>(content_name, component, index)); in NewCandidatePairId()
Dstats_types.h380 static Id NewComponentId(const std::string& content_name, int component);
381 static Id NewCandidatePairId(const std::string& content_name,
/external/webrtc/pc/test/
Dfake_peer_connection_base.h287 bool IceRestartPending(const std::string& content_name) const override { in IceRestartPending() argument
291 bool NeedsIceRestart(const std::string& content_name) const override { in NeedsIceRestart() argument
295 bool GetSslRole(const std::string& content_name, in GetSslRole() argument
Dmock_channel_interface.h30 MOCK_METHOD(const std::string&, content_name, (), (const, override));
/external/webrtc/p2p/client/
Dbasic_port_allocator.cc222 const std::string& content_name, in CreateSessionInternal() argument
228 this, content_name, component, ice_ufrag, ice_pwd); in CreateSessionInternal()
255 const std::string& content_name, in BasicPortAllocatorSession() argument
259 : PortAllocatorSession(content_name, in BasicPortAllocatorSession()
602 port.port()->set_content_name(content_name()); in UpdateIceParametersInternal()
885 RTC_LOG(LS_INFO) << "Adding allocated port for " << content_name(); in AddAllocatedPort()
886 port->set_content_name(content_name()); in AddAllocatedPort()
1143 RTC_LOG(LS_INFO) << "All candidates gathered for " << content_name() in MaybeSignalCandidatesAllocationDone()

12