fix(remux): preserve encrypted HLS and test protocol restrictions

Allow nested crypto for encrypted HTTP HLS while rejecting top-level protocol wrappers and local-file access. Replace the HLS-only http_persistent option with HTTP multiple_requests across probe/remux/transcode paths, fixing the raw HTTP regression introduced by #124. Add real FFmpeg regression tests and PR CI.
This commit is contained in:
Technomancer702
2026-10-12 15:41:13 -07:00
parent 138efd6007
commit 9fff0474e1
7 changed files with 227 additions and 11 deletions

View File

@ -198,7 +198,7 @@ class TranscodeSession extends EventEmitter {
'-analyzeduration', '5000000',
'-fflags', '+genpts+discardcorrupt',
'-err_detect', 'ignore_err',
'-http_persistent', '0',
'-multiple_requests', '0',
'-reconnect', '1',
'-reconnect_streamed', '1',
'-reconnect_on_http_error', '4xx,5xx',