Skip to content

Commit

Permalink
Fix ConnectOptions param
Browse files Browse the repository at this point in the history
ConnectOptions.socketConnectTimeoutInterval
  • Loading branch information
hiroshihorie committed Jan 6, 2025
1 parent afa481a commit 9e952b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/LiveKit/Types/Options/ConnectOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public final class ConnectOptions: NSObject, Sendable {
public init(autoSubscribe: Bool = true,
reconnectAttempts: Int = 3,
reconnectAttemptDelay: TimeInterval = .defaultReconnectAttemptDelay,
connectTimeoutInterval: TimeInterval = .defaultSocketConnect,
socketConnectTimeoutInterval: TimeInterval = .defaultSocketConnect,
primaryTransportConnectTimeout: TimeInterval = .defaultTransportState,
publisherTransportConnectTimeout: TimeInterval = .defaultTransportState,
iceServers: [IceServer] = [],
Expand All @@ -80,7 +80,7 @@ public final class ConnectOptions: NSObject, Sendable {
self.autoSubscribe = autoSubscribe
self.reconnectAttempts = reconnectAttempts
self.reconnectAttemptDelay = reconnectAttemptDelay
self.socketConnectTimeoutInterval = connectTimeoutInterval
self.socketConnectTimeoutInterval = socketConnectTimeoutInterval
self.primaryTransportConnectTimeout = primaryTransportConnectTimeout
self.publisherTransportConnectTimeout = publisherTransportConnectTimeout
self.iceServers = iceServers
Expand Down

0 comments on commit 9e952b2

Please sign in to comment.