fix: SRT/RTMP ingest + thumbnail crashes #1
No reviewers
Labels
No labels
bug
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: WildDragonLLC/dragonflight#1
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/srt-rtmp-thumbnail"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolved in commits
508e978,1afb150,7a62965.Diagnosis was three-part: (a) old recorder-captured assets had a hi-res
original_s3_keybut noproxy_s3_key, so/streamreturned{url:null, reason:'no_proxy'}and the player showed nothing; (b) the proxy worker would happily accept an SVG as a video input and fail with "codec=svg, 0x0"; (c) /live HLS dirs accumulated on disk with no owning DB row.Fixes:
POST /assets/:id/retrynow accepts proxy-less assets in any status (ready/archived), not justerror./streamreturnshas_sourceso the UI can decide intelligently.no_proxyand the source exists.media_type='image') through the JPEG-poster path.POST /assets/cleanup-live-orphansendpoint reaps/live/<uuid>/dirs whose UUID doesn't match a DB row. Ran it once during deploy and reaped 6 orphans.Verified end-to-end against an archived
sRT Test_…asset:/streamreturned no_proxy →/retryqueued the job → worker downloaded the master from S3 → emitted the clear-error path for the 1255-byte ftyp-only garbage MOV. A real-size master will produce a playable MP4 proxy when retried.SRT source at
srt://10.0.0.104:9999?mode=callerconfirmed live (1920x1080 H.264 + AAC, 59.94fps) so new captures will work normally.Pull request closed