File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ import Foundation
19
19
@objc
20
20
public enum ConnectionQuality : Int {
21
21
case unknown
22
+ /// Indicates that a participant has temporarily (or permanently) lost connection to LiveKit.
23
+ /// For permanent disconnection, ``RoomDelegate/room(_:participantDidLeave:)`` will be invoked after a timeout.
24
+ case lost
22
25
case poor
23
26
case good
24
27
case excellent
@@ -30,6 +33,7 @@ extension Livekit_ConnectionQuality {
30
33
case . poor: return . poor
31
34
case . good: return . good
32
35
case . excellent: return . excellent
36
+ case . lost: return . lost
33
37
default : return . unknown
34
38
}
35
39
}
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public class ConnectOptions: NSObject {
52
52
reconnectAttempts = 3
53
53
reconnectAttemptDelay = . defaultReconnectAttemptDelay
54
54
iceServers = [ ]
55
- protocolVersion = . v10
55
+ protocolVersion = . v11
56
56
}
57
57
58
58
@objc
@@ -61,7 +61,7 @@ public class ConnectOptions: NSObject {
61
61
reconnectAttempts: Int = 3 ,
62
62
reconnectAttemptDelay: TimeInterval = . defaultReconnectAttemptDelay,
63
63
iceServers: [ IceServer ] = [ ] ,
64
- protocolVersion: ProtocolVersion = . v10 )
64
+ protocolVersion: ProtocolVersion = . v11 )
65
65
{
66
66
self . autoSubscribe = autoSubscribe
67
67
self . publishOnlyMode = publishOnlyMode
You can’t perform that action at this time.
0 commit comments