mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Expose isLiveKitRTCSupported on the ClientProxy. (#4238)
This commit is contained in:
@@ -299,6 +299,17 @@ class ClientProxy: ClientProxyProtocol {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var isLiveKitRTCSupported: Bool {
|
||||
get async {
|
||||
do {
|
||||
return try await client.isLivekitRtcSupported()
|
||||
} catch {
|
||||
MXLog.error("Failed checking LiveKit RTC support with error: \(error)")
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private(set) lazy var pusherNotificationClientIdentifier: String? = {
|
||||
// NOTE: The result is stored as part of the restoration token. Any changes
|
||||
|
||||
Reference in New Issue
Block a user