Home
last modified time | relevance | path

Searched refs:SdpType (Results 1 – 25 of 43) sorted by relevance

12

/external/webrtc/pc/
Djsep_transport_unittest.cc25 using webrtc::SdpType;
41 SdpType local_type;
42 SdpType remote_type;
183 ->SetLocalJsepTransportDescription(jsep_description, SdpType::kOffer) in TEST_P()
202 SdpType::kAnswer) in TEST_P()
239 ->SetLocalJsepTransportDescription(local_description, SdpType::kOffer) in TEST_P()
247 SdpType::kAnswer) in TEST_P()
290 ->SetLocalJsepTransportDescription(local_description, SdpType::kOffer) in TEST_P()
298 SdpType::kAnswer) in TEST_P()
332 ->SetLocalJsepTransportDescription(description, SdpType::kOffer) in TEST_P()
[all …]
Djsep_transport_controller_unittest.cc27 using webrtc::SdpType;
238 ->SetLocalDescription(SdpType::kOffer, description.get()) in CreateLocalDescriptionAndCompleteConnectionOnNetworkThread()
366 ->SetLocalDescription(SdpType::kOffer, description.get()) in TEST_F()
383 ->SetLocalDescription(SdpType::kOffer, description.get()) in TEST_F()
418 ->SetLocalDescription(SdpType::kOffer, description.get()) in TEST_F()
430 ->SetLocalDescription(SdpType::kOffer, description.get()) in TEST_F()
448 ->SetLocalDescription(SdpType::kOffer, description.get()) in TEST_F()
463 ->SetLocalDescription(SdpType::kOffer, description.get()) in TEST_F()
466 ->SetRemoteDescription(SdpType::kAnswer, description.get()) in TEST_F()
485 ->SetLocalDescription(SdpType::kOffer, description.get()) in TEST_F()
[all …]
Dchannel_unittest.cc47 using webrtc::SdpType;
334 SdpType::kOffer, NULL); in SendInitiate()
338 SdpType::kOffer, NULL); in SendInitiate()
342 SdpType::kAnswer, NULL); in SendInitiate()
351 SdpType::kAnswer, NULL); in SendAccept()
356 SdpType::kOffer, NULL); in SendOffer()
360 SdpType::kOffer, NULL); in SendOffer()
367 SdpType::kPrAnswer, NULL); in SendProvisionalAnswer()
371 SdpType::kPrAnswer, NULL); in SendProvisionalAnswer()
379 SdpType::kAnswer, NULL); in SendFinalAnswer()
[all …]
Djsep_session_description.cc120 SdpType SessionDescriptionInterface::GetType() const { in GetType()
121 absl::optional<SdpType> maybe_type = SdpTypeFromString(type()); in GetType()
129 return SdpType::kOffer; in GetType()
136 absl::optional<SdpType> maybe_type = SdpTypeFromString(type); in CreateSessionDescription()
145 SdpType type, in CreateSessionDescription()
151 SdpType type, in CreateSessionDescription()
155 if (type != SdpType::kRollback) { in CreateSessionDescription()
164 SdpType type, in CreateSessionDescription()
175 JsepSessionDescription::JsepSessionDescription(SdpType type) : type_(type) {} in JsepSessionDescription()
178 absl::optional<SdpType> maybe_type = SdpTypeFromString(type); in JsepSessionDescription()
[all …]
Djsep_transport.cc30 using webrtc::SdpType;
156 SdpType type) { in SetLocalJsepTransportDescription()
228 if (type == SdpType::kPrAnswer || type == SdpType::kAnswer) { in SetLocalJsepTransportDescription()
249 webrtc::SdpType type) { in SetRemoteJsepTransportDescription()
305 if (type == SdpType::kPrAnswer || type == SdpType::kAnswer) { in SetRemoteJsepTransportDescription()
306 error = NegotiateAndSetDtlsParameters(SdpType::kOffer); in SetRemoteJsepTransportDescription()
450 webrtc::SdpType type, in SetRtcpMux()
455 case SdpType::kOffer: in SetRtcpMux()
458 case SdpType::kPrAnswer: in SetRtcpMux()
463 case SdpType::kAnswer: in SetRtcpMux()
[all …]
Dchannel.h122 webrtc::SdpType type,
125 webrtc::SdpType type,
237 webrtc::SdpType type,
240 webrtc::SdpType type,
243 webrtc::SdpType type,
246 webrtc::SdpType type,
354 webrtc::SdpType type,
357 webrtc::SdpType type,
396 webrtc::SdpType type,
399 webrtc::SdpType type,
[all …]
Djsep_transport.h118 webrtc::SdpType type) RTC_LOCKS_EXCLUDED(accessor_lock_);
124 webrtc::SdpType type) RTC_LOCKS_EXCLUDED(accessor_lock_);
259 bool SetRtcpMux(bool enable, webrtc::SdpType type, ContentSource source);
265 webrtc::SdpType type,
275 webrtc::SdpType local_description_type);
281 webrtc::SdpType local_description_type,
Djsep_transport_controller.h120 RTCError SetLocalDescription(SdpType type,
123 RTCError SetRemoteDescription(SdpType type,
229 SdpType type,
233 SdpType type,
263 bool ShouldUpdateBundleGroup(SdpType type,
306 SdpType type,
Dchannel.cc38 using webrtc::SdpType;
275 SdpType type, in SetLocalContent()
284 SdpType type, in SetRemoteContent()
579 SdpType type, in UpdateLocalStreams_w()
661 SdpType type, in UpdateRemoteStreams_w()
838 SdpType type, in SetLocalContent_w()
902 SdpType type, in SetRemoteContent_w()
1008 SdpType type, in SetLocalContent_w()
1035 if (type == SdpType::kAnswer || type == SdpType::kPrAnswer) { in SetLocalContent_w()
1105 SdpType type, in SetRemoteContent_w()
[all …]
Dchannel_interface.h50 webrtc::SdpType type,
53 webrtc::SdpType type,
Dsrtp_filter.cc34 webrtc::SdpType type, in Process()
38 case webrtc::SdpType::kOffer: in Process()
41 case webrtc::SdpType::kPrAnswer: in Process()
44 case webrtc::SdpType::kAnswer: in Process()
Djsep_session_description_unittest.cc42 using webrtc::SdpType;
97 jsep_desc_ = std::make_unique<JsepSessionDescription>(SdpType::kOffer); in SetUp()
111 auto jsep_desc = std::make_unique<JsepSessionDescription>(SdpType::kOffer); in DeSerialize()
472 public ::testing::WithParamInterface<SdpType> {
476 SdpType type = GetParam(); in TEST_P()
484 Values(SdpType::kOffer,
485 SdpType::kPrAnswer,
486 SdpType::kAnswer));
Dpeer_connection.cc353 bool IsMediaSectionBeingRecycled(SdpType type, in IsMediaSectionBeingRecycled()
357 return type == SdpType::kOffer && !content.rejected && in IsMediaSectionBeingRecycled()
374 const SdpType type) { in MediaSectionsInSameOrder()
576 SdpType type, in GetSetDescriptionErrorMessage()
2515 if (desc->GetType() == SdpType::kRollback) { in DoSetLocalDescription()
2544 const SdpType type = desc->GetType(); in DoSetLocalDescription()
2571 if (local_description()->GetType() == SdpType::kAnswer) { in DoSetLocalDescription()
2610 SdpType type = desc->GetType(); in ApplyLocalDescription()
2611 if (type == SdpType::kAnswer) { in ApplyLocalDescription()
2675 if (type == SdpType::kPrAnswer || type == SdpType::kAnswer) { in ApplyLocalDescription()
[all …]
Djsep_transport_controller.cc25 using webrtc::SdpType;
102 SdpType type, in SetLocalDescription()
110 initial_offerer_.emplace(type == SdpType::kOffer); in SetLocalDescription()
121 SdpType type, in SetRemoteDescription()
561 SdpType type, in ApplyDescription_n()
655 if (type == SdpType::kAnswer) { in ApplyDescription_n()
663 SdpType type, in ValidateAndMaybeUpdateBundleGroup()
680 if (type == SdpType::kAnswer) { in ValidateAndMaybeUpdateBundleGroup()
854 SdpType type, in ShouldUpdateBundleGroup()
861 if (type != SdpType::kAnswer) { in ShouldUpdateBundleGroup()
[all …]
Dpeer_connection_interface_unittest.cc975 webrtc::CreateSessionDescription(SdpType::kOffer, sdp)); in CreateOfferAsRemoteDescription()
982 webrtc::CreateSessionDescription(SdpType::kOffer, sdp)); in CreateAndSetRemoteOffer()
1001 webrtc::CreateSessionDescription(SdpType::kAnswer, sdp)); in CreateAnswerAsLocalDescription()
1013 webrtc::CreateSessionDescription(SdpType::kPrAnswer, sdp)); in CreatePrAnswerAsLocalDescription()
1038 webrtc::CreateSessionDescription(SdpType::kOffer, sdp)); in CreateOfferAsLocalDescription()
1048 webrtc::CreateSessionDescription(SdpType::kAnswer, sdp)); in CreateAnswerAsRemoteDescription()
1056 webrtc::CreateSessionDescription(SdpType::kPrAnswer, sdp)); in CreatePrAnswerAndAnswerAsRemoteDescription()
1061 webrtc::CreateSessionDescription(SdpType::kAnswer, sdp)); in CreatePrAnswerAndAnswerAsRemoteDescription()
1130 webrtc::CreateSessionDescription(SdpType::kOffer, sdp_ms1)); in CreateSessionDescriptionAndReference()
1205 webrtc::CreateSessionDescription(SdpType::kOffer, sdp)); in CreateOfferWithOptionsAsRemoteDescription()
[all …]
Dsdp_utils.h31 SdpType type);
/external/webrtc/api/
Djsep.cc29 const char* SdpTypeToString(SdpType type) { in SdpTypeToString()
31 case SdpType::kOffer: in SdpTypeToString()
33 case SdpType::kPrAnswer: in SdpTypeToString()
35 case SdpType::kAnswer: in SdpTypeToString()
37 case SdpType::kRollback: in SdpTypeToString()
43 absl::optional<SdpType> SdpTypeFromString(const std::string& type_str) { in SdpTypeFromString()
45 return SdpType::kOffer; in SdpTypeFromString()
47 return SdpType::kPrAnswer; in SdpTypeFromString()
49 return SdpType::kAnswer; in SdpTypeFromString()
51 return SdpType::kRollback; in SdpTypeFromString()
Djsep.h103 enum class SdpType { enum
116 RTC_EXPORT const char* SdpTypeToString(SdpType type);
121 absl::optional<SdpType> SdpTypeFromString(const std::string& type_str);
152 virtual SdpType GetType() const;
200 CreateSessionDescription(SdpType type, const std::string& sdp);
202 CreateSessionDescription(SdpType type,
209 SdpType type,
Djsep_session_description.h37 explicit JsepSessionDescription(SdpType type);
41 SdpType type,
60 virtual SdpType GetType() const { return type_; } in GetType()
78 SdpType type_;
/external/webrtc/test/peer_scenario/
Dscenario_connection.h53 virtual void SetRemoteSdp(SdpType type, const std::string& remote_sdp) = 0;
54 virtual void SetLocalSdp(SdpType type, const std::string& local_sdp) = 0;
Dscenario_connection.cc33 void SetRemoteSdp(SdpType type, const std::string& remote_sdp) override;
34 void SetLocalSdp(SdpType type, const std::string& local_sdp) override;
164 void ScenarioIceConnectionImpl::SetRemoteSdp(SdpType type, in SetRemoteSdp()
196 void ScenarioIceConnectionImpl::SetLocalSdp(SdpType type, in SetLocalSdp()
/external/webrtc/pc/test/
Dpeer_connection_test_wrapper.cc51 using webrtc::SdpType;
210 SetRemoteDescription(SdpType::kOffer, sdp); in ReceiveOfferSdp()
215 SetRemoteDescription(SdpType::kAnswer, sdp); in ReceiveAnswerSdp()
218 void PeerConnectionTestWrapper::SetLocalDescription(SdpType type, in SetLocalDescription()
230 void PeerConnectionTestWrapper::SetRemoteDescription(SdpType type, in SetRemoteDescription()
Dmock_channel_interface.h40 webrtc::SdpType,
46 webrtc::SdpType,
Dpeer_connection_test_wrapper.h110 void SetLocalDescription(webrtc::SdpType type, const std::string& sdp);
111 void SetRemoteDescription(webrtc::SdpType type, const std::string& sdp);
/external/webrtc/examples/peerconnection/client/
Dconductor.cc330 absl::optional<webrtc::SdpType> type_maybe = in OnMessageFromPeer()
336 webrtc::SdpType type = *type_maybe; in OnMessageFromPeer()
356 if (type == webrtc::SdpType::kOffer) { in OnMessageFromPeer()
557 webrtc::CreateSessionDescription(webrtc::SdpType::kAnswer, sdp); in OnSuccess()

12