Closed jai-raj-pb closed 2 months ago
Not an iOS dev but first q, what does claude say?
let assistantOverrides: [String: Any] = [
"artifactPlan": [
"videoRecordingEnabled": true
]
]
let response = try await vapi.start(assistantId: "---", assistantOverrides: assistantOverrides)
I'm working on a project using your repository and have encountered an issue when trying to enable the camera during a VAPI call.
From the logs, I noticed that the camera.isEnabled flag is currently set to false. Here is a snippet from the logs:
I have looked into the
private func startCall(body: [String: Any]) async throws -> WebCallResponse
method, which parses the flag asresponse.artifactPlan?.videoRecordingEnabled
.Could you please help me understand how to pass this flag to enable the camera (camera.isEnabled) as true?
I would greatly appreciate your guidance on how to proceed.
Thank you for your support!