File size: 672 Bytes
514935f
3ddfdd6
 
 
514935f
 
3ddfdd6
514935f
 
 
3ddfdd6
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
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.