input updae

This commit is contained in:
devdatt 2025-11-27 07:35:47 +05:30
parent 7cff60be2f
commit 14249001ee
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ function update_service($which_service)
$input .= "ffmpeg -hwaccel auto -stream_loop -1 -re -i " . $data['url']; $input .= "ffmpeg -hwaccel auto -stream_loop -1 -re -i " . $data['url'];
break; break;
case "udp": case "udp":
$input .= "ffmpeg -hwaccel auto -stream_loop -1 -re -i " . $data['udp']."?reuse=1&fifo_size=1000000&overrun_nonfatal=1"; $input .= 'ffmpeg -hwaccel auto -stream_loop -1 -re -i "' . $data['udp']."?reuse=1&fifo_size=1000000&overrun_nonfatal=1".'"';
break; break;
case "rtmp": case "rtmp":
$input .= "ffmpeg -hwaccel auto -stream_loop -1 -re -i rtmp://127.0.0.1:1935/" . $$input_rtmp_mount . "/" . $input_rtmp_pass; $input .= "ffmpeg -hwaccel auto -stream_loop -1 -re -i rtmp://127.0.0.1:1935/" . $$input_rtmp_mount . "/" . $input_rtmp_pass;