feat: Implement server with API routing, static file serving, Xtream proxy, and streaming capabilities.

This commit is contained in:
Michael committed 2025-12-06 19:13:10 +01:00
1 parent b6c0c3ddc7
commit 4786ded67d
9 files changed
+1203 -920

No files matched your search

+4
View File
@@ -431,6 +431,10 @@ Handler _createStreamHandler() {
'-reconnect_on_http_error', '4xx,5xx',
'-rw_timeout', '15000000', // 15s timeout
// Probing settings to ensure stream detection
'-analyzeduration', '20000000', // 20s
'-probesize', '10000000', // 10MB
'-i', iptvUrl,
// Output format: MPEG-TS for streaming (compatible with mpegts.js)