glamorous-gigabyte-63352
11/24/2025, 9:20 AMtall-airline-16756
11/24/2025, 9:20 AMtall-airline-16756
11/24/2025, 9:21 AMfocusMode and focusPoint when using the LiveKit Swift SDK. The SDK documentation doesn't expose camera focus controls directly. If you need to control focus, you can manage the device camera with AVFoundation and provide that capture to LiveKit.
Quick options:
• Use AVFoundation to configure the camera's focus and supply an `AVCaptureSession`/`AVCaptureDevice` capture to LiveKit when creating a local video track.
• If you're using LiveKit's built-in camera helper or convenience capture, check whether you're creating the capture yourself (so you can access AVCaptureDevice) or using a helper that hides the device — if it hides it, switch to manual AVFoundation capture so you can set focus.
If you'd like, tell me:
1. Are you using LiveKit's example camera capture code or a custom AVCaptureSession?
2. Do you want code to set focusMode and focusPoint on an AVCaptureDevice and then publish that capture to LiveKit?
I can then provide a concise Swift snippet showing how to set `focusMode`/`focusPoint` and attach the capture to LiveKit.
Sources: Swift quickstart | LiveKit docs | Mobile SDKs (Flutter, iOS, Android) | livekit/livekit_composite | DeepWiki | Flutter quickstart | LiveKit docs