feat: Add streaming handlers for live TV (MPEG-TS proxy) and VOD (HLS transcoding) using FFmpeg.

This commit is contained in:
Michael committed 2026-01-01 15:44:57 +01:00
1 parent 88caf38c8f
commit f5093e8d0e
1 file changed
+3 -2
+3 -2
View File
@@ -136,8 +136,9 @@ Handler createLiveStreamHandler(
'-reconnect_streamed', '1',
'-reconnect_delay_max', '5',
'-rw_timeout', '15000000',
'-analyzeduration', '5000000', // Faster probe for live
'-probesize', '5000000',
'-fflags', '+nobuffer+fastseek', // Disable buffering for instant start
'-analyzeduration', '1000000', // 1s probe (was 5s)
'-probesize', '1000000', // 1MB probe (was 5MB)
'-i', targetUrl,