Expose isLiveKitRTCSupported on the ClientProxy. (#4238)

This commit is contained in:
Doug
2025-06-23 11:21:36 +01:00
committed by GitHub
parent 5579f97886
commit 5b3e045e3c
8 changed files with 83 additions and 37 deletions
@@ -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