rig-live-relay / README.md
joshruby's picture
Rig live HLS relay (RAM only)
3ddfdd6 verified
|
Raw History Blame Contribute Delete
672 Bytes
metadata
title: Rig live relay
emoji: 📡
colorFrom: gray
colorTo: green
sdk: docker
app_port: 7860
pinned: false

Rig live relay

Relays the field rig's live camera (HLS) to the public ZIO site. The rig pushes each 2 s segment and the playlist here; viewers pull them. The last ~48 s are held in RAM and nothing is stored.

  • GET /stream.m3u8 — the live playlist (404 while the rig is not streaming)
  • GET /seg/<name>.ts — a segment from the current window
  • PUT on both — the rig only (RELAY_TOKEN Space secret)

Source: ipad/FieldGlass/jetson/hf_live_relay/ in the AERIE repo. Deploy: upload this folder to the Space and set the RELAY_TOKEN secret.