video pain

This commit is contained in:
legop3
2025-11-14 17:35:37 -05:00
parent 73e58b213a
commit 879674238f
+14 -2
View File
@@ -1,11 +1,23 @@
# video flow: # video flow:
1. Raspberry pi zero 2 W 1. Raspberry pi zero 2 W
- raspberry pi camera - raspberry pi camera
- 720p 30fps
- hardware h264 encoder built into the pi - hardware h264 encoder built into the pi
2. mediaMTX on the server 2. mediaMTX on the server
- the server will forward video from the pi to users - the server will forward video from the pis to users
- video streams must be able to be locked - video streams must be able to be locked
- to do this, always require JWT auth for all rover streams - to do this, always require JWT auth for all rover streams
- just decide who to give access tokens too - just decide who to give access tokens too
3. User web player 3. User web player
- - simple
- must be able to create and manage multiple players on one page
- reconnects automatically
- automatically plays the video of the rover you are assigned to
- on the spectator page:
- show the video for all rovers, in their pane of the spectator page
# other requirements:
- absolute LOWEST LATENCY possible from glass to glass
- probably want to use webRTC out of the pi
- MUST use mediaMTX on the server for fan-out and forwarding