Ray-Ban Meta Glasses · Engineering
Smart Glasses Native Livestream
Meta's SDK exposes 1080p/30 clips (max 60 s). Live RTMP endpoints only exist in first-party apps — raw BLE "continuous frame push" is undocumented. The architecture below bridges that gap with ~500 lines of C.
Phone must stay in the loop — Glasses → BLE/Wi-Fi → Phone → RTMP upstream. C code runs on the phone (Android NDK), not the glasses.
① Architecture Flow
Ray-Ban Meta Glasses
│ (BLE control, Wi-Fi Direct payload)
▼
Android / iOS Phone
├─ libmeta_glasses.so ← GATT cmds
├─ GStreamer pipeline
└─ librtmp → YouTube / Twitch / FB
▼
RTMPS :443 → Live Platform
② Reverse-Engineered BLE Commands
⚠ UUIDs from 2024 firmware — sniff with nRF Connect to confirm before building.
③ SSH vs OPi/SSTP Remote Access
④ Latency & Bandwidth Knobs
⑤ Live Stream Simulator
⑥ GStreamer Pipeline
⑦ C NDK Skeleton
⑧ OPi Voice Trigger
"Hey OPi, go live!"
OPi intent
intent: start_livestream platform=youtubeAndroid Intent
ACTION_START → NativeStreamServiceBLE write
0x01 0x01 0x00 → glasses stream modeGStreamer
RTMPS tunnel → live platform⑨ Weekend Checklist
~500 lines of C · 1 weekend of BLE sniffing → glasses go live
