camera-streaming
Skill by facebook
Guides iOS developers through camera streaming and photo capture with the DAT SDK. It covers video frames, resolution and frame rate settings, and in-stream photo capture.
Install camera-streaming
Built from the published package, never by AI.
git clone --depth 1 https://github.com/facebook/meta-wearables-dat-ios /tmp/meta-wearables-dat-ios && mkdir -p ~/.claude/skills && cp -r /tmp/meta-wearables-dat-ios/plugins/mwdat-ios/skills/camera-streaming ~/.claude/skills/camera-streamingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/facebook/meta-wearables-dat-ios /tmp/meta-wearables-dat-ios && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/meta-wearables-dat-ios/plugins/mwdat-ios/skills/camera-streaming ~/.gemini/antigravity-cli/skills/camera-streamingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The camera-streaming skill is a guide for implementing camera streaming and photo capture with the DAT SDK on iOS. It explains the core pieces: a DeviceSession connected to the glasses, a Camera attached with addCamera(config:), and a Stream that starts and stops, delivers VideoFrame objects, reports state and errors, and captures photos. It also covers StreamConfiguration for video codec, resolution, and frame rate, with resolutions from 360 x 640 up to 720 x 1280 and frame rates of 2 to 30 FPS.
The skill includes Swift code samples for creating a session, checking and requesting camera permission, observing stream state and errors, receiving frames, and managing listener tokens. It notes that the SDK reduces quality when Bluetooth Classic bandwidth is limited. It points to the audio-streaming and camera-capture skills for related tasks. It is aimed at iOS developers building apps on the DAT SDK.
Written from the project's SKILL.md and checked against it.
What it can do
- Create a device sessionCreates and starts a DeviceSession using AutoDeviceSelector or SpecificDeviceSelector.
- Attach a cameraAdds a Camera to a started session with addCamera(config:) and exposes its stream.
- Configure the streamSets video codec, resolution and frame rate through StreamConfiguration.
- Receive video framesRenders frames with makeUIImage() or uses the raw CMSampleBuffer.
- Capture in-stream photosTriggers capturePhoto(format:) during a stream and receives PhotoData.
- Observe state and errorsListens to statePublisher and errorPublisher events from the stream.
- Manage listener tokensStores listener tokens in a ListenerTokenBag and clears them on teardown.
What you need
- iOS
- Swift
- DAT SDK (MWDATCore and MWDATCamera)
- Glasses connected over Bluetooth
Try asking
- Show me how to start a DeviceSession and attach a camera on iOS.
- Set up a stream at medium resolution and 24 FPS with the raw codec.
- How do I capture a still photo while the camera is streaming?
Good to know
- Resolution and frame rate are limited by Bluetooth Classic bandwidth.
- The SDK lowers resolution first, then frame rate, never below 15 FPS.
- capturePhoto returns false if another capture is already in flight.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/mwdat-ios/skills/camera-streaming/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to camera-streaming
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
camera-streaming: common questions
Which video resolutions and frame rates are supported?
The source lists high (720 x 1280), medium (504 x 896) and low (360 x 640). Frame rate must be 2, 7, 15, 24 or 30 FPS.
What is the difference between the raw and hvc1 codecs?
raw delivers decoded frames that can be rendered directly. hvc1 delivers compressed HEVC frames, which the app must decode itself for on-screen preview.
Does this skill cover standalone photo capture?
It covers in-stream capture only. The source says standalone high-quality capture is handled by the camera-capture skill.
How do I install camera-streaming?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is camera-streaming free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is camera-streaming safe to use?
It scores 69 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to camera-streaming?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
