1.1 KiB
1.1 KiB
| id | title | status | assignee | created_date | labels | dependencies | priority |
|---|---|---|---|---|---|---|---|
| TASK-8 | Test stream auto-archive to R2 | To Do | 2026-02-15 21:12 | high |
Description
Verify the archive worker pipeline works end-to-end:
- Stream via OBS or FFmpeg to rtmp://rtube.online:1936/live/test-archive
- Stream for at least 30 seconds, then stop
- Check archive-worker logs: docker logs rtube-archive
- Verify FLV→MP4 conversion completed
- Verify MP4 uploaded to r2:rtube-videos/streams/
- Verify local FLV and MP4 cleaned up from /recordings volume
- Check rtube.online/demo — archived video should appear in the library
- Play the archived video from the demo page
Acceptance Criteria
- #1 Archive worker receives on_publish_done callback from nginx-rtmp
- #2 FLV recording is converted to MP4 via ffmpeg
- #3 MP4 is uploaded to rtube-videos R2 bucket under streams/ prefix
- #4 Archived video appears in /api/videos listing
- #5 Video plays back correctly from /demo page