What problem does it solve?
This Skill guides you through streaming live video from Meta AI glasses and capturing still photos reliably, so you can avoid ad-hoc, error-prone camera integration work.
Core Features & Use Cases
- Camera Stream Setup: Create a device session and add a camera stream with configurable resolution, codec, and frame rate for stable playback.
- Real-Time Frame Rendering: Subscribe to video frames and convert frames into UI images for a live preview experience.
- On-Demand Photo Capture: Trigger still-image capture during streaming and handle the resulting photo data for storage or processing.
- Use Case: Build a hands-free mobile app that streams what the user sees in real time while also capturing JPEG photos for later review, sharing, or analysis.
Quick Start
Set up a DeviceSession, add a Stream using StreamConfiguration, start the stream, listen for video frames to render a preview image, and trigger capturePhoto(format: .jpeg) while subscribing to photoDataPublisher.