Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/p2p/base/
Dsessiondescription.cc52 bool ContentGroup::HasContentName(const std::string& content_name) const { in HasContentName()
54 content_name) != content_names_.end()); in HasContentName()
57 void ContentGroup::AddContentName(const std::string& content_name) { in AddContentName() argument
58 if (!HasContentName(content_name)) { in AddContentName()
59 content_names_.push_back(content_name); in AddContentName()
63 bool ContentGroup::RemoveContentName(const std::string& content_name) { in RemoveContentName() argument
65 content_names_.begin(), content_names_.end(), content_name); in RemoveContentName()
149 if (GetTransportInfoByName(transport_info.content_name) != NULL) { in AddTransportInfo()
159 if (transport_info->content_name == name) { in RemoveTransportInfoByName()
171 if (iter->content_name == name) { in GetTransportInfoByName()
[all …]
Dtransportinfo.h30 TransportInfo(const std::string& content_name, in TransportInfo()
32 : content_name(content_name), in TransportInfo()
35 std::string content_name; member
Dportallocator.cc16 PortAllocatorSession::PortAllocatorSession(const std::string& content_name, in PortAllocatorSession() argument
21 : content_name_(content_name), in PortAllocatorSession()
33 const std::string& content_name, in CreateSession() argument
37 return CreateSessionInternal(content_name, component, ice_ufrag, ice_pwd); in CreateSession()
Dportallocator.h114 PortAllocatorSession(const std::string& content_name,
125 std::string content_name() const { return content_name_; } in content_name() function
191 const std::string& content_name,
240 const std::string& content_name,
Dsessiondescription.h66 bool HasContentName(const std::string& content_name) const;
67 void AddContentName(const std::string& content_name);
68 bool RemoveContentName(const std::string& content_name);
Dport.h158 const std::string& content_name() const { return content_name_; } in content_name() function
159 void set_content_name(const std::string& content_name) { in set_content_name() argument
160 content_name_ = content_name; in set_content_name()
/external/webrtc/talk/session/media/
Dchannelmanager.h103 const std::string& content_name,
113 const std::string& content_name,
119 const std::string& content_name,
194 const std::string& content_name,
201 const std::string& content_name,
206 const std::string& content_name,
Dchannelmanager.cc253 const std::string& content_name, in CreateVoiceChannel() argument
258 transport_controller, content_name, rtcp, options)); in CreateVoiceChannel()
264 const std::string& content_name, in CreateVoiceChannel_w() argument
277 transport_controller, content_name, rtcp); in CreateVoiceChannel_w()
311 const std::string& content_name, in CreateVideoChannel() argument
316 transport_controller, content_name, rtcp, options)); in CreateVideoChannel()
322 const std::string& content_name, in CreateVideoChannel_w() argument
335 worker_thread_, media_channel, transport_controller, content_name, rtcp); in CreateVideoChannel_w()
369 const std::string& content_name, in CreateDataChannel() argument
374 content_name, rtcp, channel_type)); in CreateDataChannel()
[all …]
Dmediasession.cc579 if (bundle_group.HasContentName(it->content_name) && in UpdateTransportInfoForBundle()
580 it->content_name != selected_content_name) { in UpdateTransportInfoForBundle()
592 const std::string& content_name, in GetCryptosByName() argument
598 const ContentInfo* content = sdesc->GetContentByName(content_name); in GetCryptosByName()
645 const std::string& content_name) { in IsRtpContent() argument
647 ContentInfo* content = sdesc->GetContentByName(content_name); in IsRtpContent()
1135 const std::string& content_name, in GetTransportDescription() argument
1140 current_description->GetTransportInfoByName(content_name); in GetTransportDescription()
1150 const std::string& content_name, in IsDtlsActive() argument
1156 current_description->GetContentByName(content_name); in IsDtlsActive()
[all …]
Dchannel.h88 const std::string& content_name,
97 const std::string& content_name() const { return content_name_; } in content_name() function
346 const std::string& content_name,
448 const std::string& content_name,
536 const std::string& content_name,
Dchannel.cc172 const std::string& content_name, in BaseChannel() argument
177 content_name_(content_name), in BaseChannel()
193 LOG(LS_INFO) << "Created channel for " << content_name; in BaseChannel()
222 if (!SetTransport(content_name())) { in Init()
269 LOG(LS_INFO) << "Create RTCP TransportChannel for " << content_name() in SetTransport_w()
888 << content_name() << " " in SetupDtlsSrtp()
1104 LOG(LS_INFO) << "Enabling rtcp-mux for " << content_name() in SetRtcpMux_w()
1334 const std::string& content_name, in VoiceChannel() argument
1339 content_name, in VoiceChannel()
1646 const std::string& content_name, in VideoChannel() argument
[all …]
Dmediasession.h459 const std::string& content_name,
465 const std::string& content_name,
471 const std::string& content_name,
/external/webrtc/talk/app/webrtc/
Dstatstypes.cc164 ComponentId(const std::string& content_name, int component) in ComponentId() argument
165 : ComponentId(StatsReport::kStatsReportTypeComponent, content_name, in ComponentId()
179 ComponentId(StatsReport::StatsType type, const std::string& content_name, in ComponentId() argument
182 content_name_(content_name), in ComponentId()
200 CandidatePairId(const std::string& content_name, int component, int index) in CandidatePairId() argument
201 : ComponentId(StatsReport::kStatsReportTypeCandidatePair, content_name, in CandidatePairId()
655 const std::string& content_name, int component) { in NewComponentId() argument
656 return Id(new RefCountedObject<ComponentId>(content_name, component)); in NewComponentId()
661 const std::string& content_name, int component, int index) { in NewCandidatePairId() argument
663 content_name, component, index)); in NewCandidatePairId()
Dwebrtcsession.cc1067 tinfo.content_name, tinfo.description, action, err)) { in PushdownLocalTransportDescription()
1087 tinfo.content_name, tinfo.description, action, err)) { in PushdownRemoteTransportDescription()
1097 const std::string& content_name, in GetTransportDescription() argument
1103 description->GetTransportInfoByName(content_name); in GetTransportDescription()
1126 const std::string& content_name = ch->content_name(); in GetChannelTransportStats() local
1128 stats->proxy_to_transport[content_name] = transport_name; in GetChannelTransportStats()
1159 const std::string& content_name) { in GetChannel() argument
1160 if (voice_channel() && voice_channel()->content_name() == content_name) { in GetChannel()
1163 if (video_channel() && video_channel()->content_name() == content_name) { in GetChannel()
1166 if (data_channel() && data_channel()->content_name() == content_name) { in GetChannel()
[all …]
Djsepsessiondescription.cc129 const std::string& content_name = in AddCandidate() local
132 description_->GetTransportInfoByName(content_name); in AddCandidate()
Dwebrtcsdp_unittest.cc887 EXPECT_EQ(transport1.content_name, transport2.content_name); in CompareSessionDescription()
962 std::string content_name; in UpdateCandidateUfragPwd() local
964 content_name = kAudioContentName; in UpdateCandidateUfragPwd()
966 content_name = kVideoContentName; in UpdateCandidateUfragPwd()
971 content_name, TransportDescription(ufrag, pwd)); in UpdateCandidateUfragPwd()
974 desc->RemoveTransportInfoByName(content_name); in UpdateCandidateUfragPwd()
990 void AddIceOptions(const std::string& content_name, in AddIceOptions() argument
992 ASSERT_TRUE(desc_.GetTransportInfoByName(content_name) != NULL); in AddIceOptions()
994 *(desc_.GetTransportInfoByName(content_name)); in AddIceOptions()
995 desc_.RemoveTransportInfoByName(content_name); in AddIceOptions()
[all …]
Dwebrtcsession.h382 const std::string& content_name,
385 cricket::BaseChannel* GetChannel(const std::string& content_name);
395 bool GetLocalCandidateMediaIndex(const std::string& content_name,
Dwebrtcsdp.cc294 std::string* content_name,
2126 std::string* content_name, in ParseContentDescription() argument
2133 *content_name = cricket::CN_AUDIO; in ParseContentDescription()
2136 *content_name = cricket::CN_VIDEO; in ParseContentDescription()
2139 *content_name = cricket::CN_DATA; in ParseContentDescription()
2146 codec_preference, pos, content_name, in ParseContentDescription()
2219 std::string content_name; in ParseMediaDescription() local
2223 codec_preference, pos, &content_name, in ParseMediaDescription()
2228 codec_preference, pos, &content_name, in ParseMediaDescription()
2234 codec_preference, pos, &content_name, in ParseMediaDescription()
[all …]
Dstatstypes.h344 const std::string& content_name, int component);
346 const std::string& content_name, int component, int index);
Dstatscollector.cc605 const std::string& content_name, int component, int connection_id, in AddConnectionInfoReport() argument
608 StatsReport::Id id(StatsReport::NewCandidatePairId(content_name, component, in AddConnectionInfoReport()
789 proxy_to_transport_, pc_->session()->voice_channel()->content_name())); in ExtractVoiceInfo()
792 << pc_->session()->voice_channel()->content_name(); in ExtractVoiceInfo()
822 proxy_to_transport_, pc_->session()->video_channel()->content_name())); in ExtractVideoInfo()
825 << pc_->session()->video_channel()->content_name(); in ExtractVideoInfo()
/external/webrtc/webrtc/p2p/client/
Dfakeportallocator.h87 const std::string& content_name, in FakePortAllocatorSession() argument
91 : PortAllocatorSession(content_name, component, ice_ufrag, ice_pwd, in FakePortAllocatorSession()
169 const std::string& content_name, in CreateSessionInternal() argument
174 worker_thread_, factory_, content_name, component, ice_ufrag, ice_pwd); in CreateSessionInternal()
Dhttpportallocator.h53 const std::string& content_name,
99 const std::string& content_name,
Dhttpportallocator.cc105 const std::string& content_name, in HttpPortAllocatorSessionBase() argument
113 : BasicPortAllocatorSession(allocator, content_name, component, in HttpPortAllocatorSessionBase()
Dbasicportallocator.cc134 const std::string& content_name, int component, in CreateSessionInternal() argument
137 this, content_name, component, ice_ufrag, ice_pwd); in CreateSessionInternal()
144 const std::string& content_name, in BasicPortAllocatorSession() argument
148 : PortAllocatorSession(content_name, component, in BasicPortAllocatorSession()
438 LOG(LS_INFO) << "Adding allocated port for " << content_name(); in AddAllocatedPort()
439 port->set_content_name(content_name()); in AddAllocatedPort()
Dbasicportallocator.h75 const std::string& content_name,
98 const std::string& content_name,

12