Deprecate PeerConnectionFactory::CreatePeerConnection
Applications should use CreatePeerConnectionOrError instead. Moved fallback implementations of CreatePeerConnection into the api/peer_connection_interface.h file, so that we do not have to declare these methods in the proxy. Bug: webrtc:12238 Change-Id: I70c56336641c2a108b68446ae41f43409277a584 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/217762 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33964}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
91c48f3a16
commit
f33f7a2ada
@ -144,7 +144,7 @@ void ObjCCallClient::CreatePeerConnection() {
|
||||
// DTLS SRTP has to be disabled for loopback to work.
|
||||
config.enable_dtls_srtp = false;
|
||||
webrtc::PeerConnectionDependencies pc_dependencies(pc_observer_.get());
|
||||
pc_ = pcf_->CreatePeerConnection(config, std::move(pc_dependencies));
|
||||
pc_ = pcf_->CreatePeerConnectionOrError(config, std::move(pc_dependencies)).MoveValue();
|
||||
RTC_LOG(LS_INFO) << "PeerConnection created: " << pc_;
|
||||
|
||||
rtc::scoped_refptr<webrtc::VideoTrackInterface> local_video_track =
|
||||
|
||||
Reference in New Issue
Block a user