mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
use default factory
This commit is contained in:
parent
8ba8e1c1a8
commit
2dfef51688
|
@ -22,9 +22,7 @@ public final class WebRTCSession : NSObject, RTCPeerConnectionDelegate {
|
|||
|
||||
internal lazy var factory: RTCPeerConnectionFactory = {
|
||||
RTCInitializeSSL()
|
||||
let videoEncoderFactory = RTCVideoEncoderFactoryH264()
|
||||
let videoDecoderFactory = RTCVideoDecoderFactoryH264()
|
||||
return RTCPeerConnectionFactory(encoderFactory: videoEncoderFactory, decoderFactory: videoDecoderFactory)
|
||||
return RTCPeerConnectionFactory()
|
||||
}()
|
||||
|
||||
/// Represents a WebRTC connection between the user and a remote peer. Provides methods to connect to a
|
||||
|
|
Loading…
Reference in a new issue