Remove enable_dtls_srtp option
This is part of the removal of support for SDES. Bug: webrtc:11066 Change-Id: I448d0e0032672c04c87b00550ab4b9d792071a0b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/234864 Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35262}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
aaa848e078
commit
f9e502d935
@ -177,8 +177,10 @@ void AndroidCallClient::CreatePeerConnection() {
|
||||
webrtc::MutexLock lock(&pc_mutex_);
|
||||
webrtc::PeerConnectionInterface::RTCConfiguration config;
|
||||
config.sdp_semantics = webrtc::SdpSemantics::kUnifiedPlan;
|
||||
// DTLS SRTP has to be disabled for loopback to work.
|
||||
config.enable_dtls_srtp = false;
|
||||
// Encryption has to be disabled for loopback to work.
|
||||
webrtc::PeerConnectionFactoryInterface::Options options;
|
||||
options.disable_encryption = true;
|
||||
pcf_->SetOptions(options);
|
||||
webrtc::PeerConnectionDependencies deps(pc_observer_.get());
|
||||
pc_ = pcf_->CreatePeerConnectionOrError(config, std::move(deps)).MoveValue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user