webrtc-streaming
Skill16 starsChanged 11 days agoApache-2.0View on GitHub
Use when the user wants to stream Aria Gen 2 glasses over WebRTC instead of the default HTTP transport — low-latency interactive use (teleoperation, live assistance), two-way audio (talking back to the wearer), streaming across different networks via a signaling server and STUN/TURN, or recording VRS on-device while streaming. Also relevant for deploying the WebRTC signaling server or interpreting WebRTC image timestamps. Does NOT cover HTTP streaming over USB / same-network WiFi (use the `client-sdk` skill) or POSTing to your own HTTPS ingest server (use the `cloud-streaming` skill).
In this repository13 other files it gives its agents.
- aria-knowledgeSkill
- client-sdk-ros2-integrationSkill
- client-sdkSkill
- cloud-streamingSkill
- custom-profileSkill
- integrationsSkill
- mpsSkill
- pilot-datasetSkill
- projectaria-toolsSkill
- timecode-bridgeSkill
- vrs-cliSkill
- vrs-health-checkSkill
- web-app-creatorSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
When recording while streaming, the streaming and recording profiles must use the same camera resolution and format.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Aria WebRTC Streaming
WebRTC is an alternative streaming transport to HTTP for Aria Gen 2. The receiver API is unified: the register_*_callback surface and typed sensor objects are the same as HTTP, so only the receiver class and its config change.
Single source of truth for setup, CLI flags, Python config fields, profiles, and signaling server deployment: https://facebookresearch.github.io/projectaria_tools/gen2/ark/client-sdk/webrtc
This skill encodes only the stable concept. Fetch the docs (or run
aria_gen2 streaming webrtc start --help) for anything specific. Never guess flags or profile names.
Why WebRTC over HTTP
- Two-way audio — host microphone is sent to the glasses; HTTP is receive-only.
- Low latency — tuned for realtime delivery, not throughput.
- Crosses networks — peer-to-peer through a signaling server, TURN relay as fallback; no inbound port or streaming certificates needed.
- Record while streaming — full-rate VRS on the glasses alongside the live stream.
Mental model
Two topologies:
- Same network — the receiver listens on a local port and the glasses dial it directly. Nothing to deploy.
- Cross network — both peers join a room on a signaling server you host. It only exchanges SDP / ICE and never carries media. Media goes direct peer-to-peer, or through a TURN relay when NAT / firewall blocks the direct path.
Stable gotchas
- Video timestamps are host receive time (mapped into the device clock). RTP carries no capture timestamp, so images are slightly late by the network delay. Data-channel sensors (IMU, VIO, eye gaze, hands, …) keep true device-clock timestamps.
- No batching, so bandwidth is capped by thermals. A profile that works over HTTP may overheat over WebRTC. Start from the low-latency profile recommended in the docs.
- Wi-Fi only, but USB is still needed for the control connection.
- When recording while streaming, the streaming and recording profiles must use the same camera resolution and format. Frame rates may differ.
Related plugin skills
client-sdk— HTTP streaming, authentication,aria_streaming_viewer.cloud-streaming— glasses POST over HTTPS to your own ingest server.custom-profile— authoring a profile sized for WebRTC.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

