/external/webrtc/pc/ |
D | jsep_transport_unittest.cc | 25 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 …]
|
D | jsep_transport_controller_unittest.cc | 27 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 …]
|
D | channel_unittest.cc | 47 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 …]
|
D | jsep_session_description.cc | 120 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 …]
|
D | jsep_transport.cc | 30 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 …]
|
D | channel.h | 122 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 …]
|
D | jsep_transport.h | 118 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,
|
D | jsep_transport_controller.h | 120 RTCError SetLocalDescription(SdpType type, 123 RTCError SetRemoteDescription(SdpType type, 229 SdpType type, 233 SdpType type, 263 bool ShouldUpdateBundleGroup(SdpType type, 306 SdpType type,
|
D | channel.cc | 38 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 …]
|
D | channel_interface.h | 50 webrtc::SdpType type, 53 webrtc::SdpType type,
|
D | srtp_filter.cc | 34 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()
|
D | jsep_session_description_unittest.cc | 42 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));
|
D | peer_connection.cc | 353 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 …]
|
D | jsep_transport_controller.cc | 25 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 …]
|
D | peer_connection_interface_unittest.cc | 975 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 …]
|
D | sdp_utils.h | 31 SdpType type);
|
/external/webrtc/api/ |
D | jsep.cc | 29 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()
|
D | jsep.h | 103 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,
|
D | jsep_session_description.h | 37 explicit JsepSessionDescription(SdpType type); 41 SdpType type, 60 virtual SdpType GetType() const { return type_; } in GetType() 78 SdpType type_;
|
/external/webrtc/test/peer_scenario/ |
D | scenario_connection.h | 53 virtual void SetRemoteSdp(SdpType type, const std::string& remote_sdp) = 0; 54 virtual void SetLocalSdp(SdpType type, const std::string& local_sdp) = 0;
|
D | scenario_connection.cc | 33 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/ |
D | peer_connection_test_wrapper.cc | 51 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()
|
D | mock_channel_interface.h | 40 webrtc::SdpType, 46 webrtc::SdpType,
|
D | peer_connection_test_wrapper.h | 110 void SetLocalDescription(webrtc::SdpType type, const std::string& sdp); 111 void SetRemoteDescription(webrtc::SdpType type, const std::string& sdp);
|
/external/webrtc/examples/peerconnection/client/ |
D | conductor.cc | 330 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()
|