createPeerConnection
open fun createPeerConnection(iceServers: List<PeerConnection.IceServer>, observer: PeerConnection.Observer): PeerConnection
open fun createPeerConnection(rtcConfig: PeerConnection.RTCConfiguration, observer: PeerConnection.Observer): PeerConnection
open fun createPeerConnection(rtcConfig: PeerConnection.RTCConfiguration, dependencies: PeerConnectionDependencies): PeerConnection
open fun createPeerConnection(rtcConfig: PeerConnection.RTCConfiguration, constraints: MediaConstraints, observer: PeerConnection.Observer): PeerConnection
open fun createPeerConnection(iceServers: List<PeerConnection.IceServer>, constraints: MediaConstraints, observer: PeerConnection.Observer): PeerConnection
Deprecated
Deprecated. PeerConnection constraints are deprecated. Supply values in rtcConfig struct instead and use the method without constraints in the signature.