fix(stream): hallazgos de la revisión crítica del modo copy
Some checks failed
CI / Test (push) Failing after 2m55s
CI / Build (push) Successful in 1m31s
CI / Build-1 (push) Successful in 1m57s
CI / Build-2 (push) Successful in 1m35s
CI / Build-3 (push) Successful in 1m37s
CI / Build-4 (push) Successful in 1m33s
CI / Build-5 (push) Successful in 1m34s
CI / Lint (push) Failing after 2m29s
CI / Coverage (push) Successful in 2m49s
CI / Vet (push) Successful in 2m0s

- log honesto de resume (copy codifica desde 0, no desde StartSec)
- inyección EXT-X-START anclada a #EXTM3U con warning si falla
- ServeSegment sin tope segmentCount en copy (ffmpeg adelanta al índice)
- comentario types.go: gate por HLS_COPY_MIN_VERSION web-side
This commit is contained in:
Deivid Soto 2026-06-11 08:37:36 +02:00
parent da6ee9fff5
commit dc67f0d4ca
2 changed files with 42 additions and 13 deletions

View file

@ -526,7 +526,7 @@ type StreamSession struct {
// into fMP4 segments, audio to AAC when needed. The robust replacement for
// the progressive-remux path: same near-zero CPU (video never re-encoded,
// works on a GPU-less NAS), but in the segmented transport every player
// handles. Set by webs that know this agent supports it (≥1.0.10).
// handles. Set by webs that know this agent supports it (gate: HLS_COPY_MIN_VERSION web-side).
VideoCopy bool `json:"videoCopy,omitempty"`
// DirectURL, when set, is an HTTPS link to the media resolved server-side
// from the user's debrid account (hueco #2 / 2a). The source has no local