We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a787606 commit 3930acbCopy full SHA for 3930acb
Sources/LiveKit/Agent/Agent.swift
@@ -96,6 +96,7 @@ public struct Agent: Loggable {
96
/// A boolean value indicating whether the agent is connected.
97
public var isConnected: Bool {
98
switch state {
99
+ case .connecting(buffering: true): true
100
case .connected: true
101
default: false
102
}
Sources/LiveKit/Agent/Session.swift
@@ -255,7 +255,9 @@ open class Session: ObservableObject {
255
try await connect()
256
257
} else {
258
+ agent.connecting(buffering: false)
259
260
+ try await room.localParticipant.setMicrophone(enabled: true)
261
262
} catch {
263
self.error = .failedToConnect(error)
0 commit comments