From 35a09e1b2022855a329a8a8a0096d7058a7ad687 Mon Sep 17 00:00:00 2001 From: devdatt Date: Sun, 7 Dec 2025 04:03:40 +0530 Subject: [PATCH] rtmp1_multiple --- encoder/output.php | 2 +- encoder/static.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/encoder/output.php b/encoder/output.php index 1dd36bf..efc6eec 100755 --- a/encoder/output.php +++ b/encoder/output.php @@ -18,7 +18,7 @@ $defaults = [ 'service_custom' => 'disable', 'rtmp0_multiple' => [], - 'rtmp1_multiple1' => [], + 'rtmp1_multiple' => [], 'srt_multiple' => [], 'rtmp0' => [ 'resolution' => '1920x1080', diff --git a/encoder/static.php b/encoder/static.php index 71501e6..2c92315 100755 --- a/encoder/static.php +++ b/encoder/static.php @@ -265,14 +265,14 @@ function update_service($which_service) $rtmp_push0 = ""; for ($i = 1; $i <= 11; $i++) { - if ($rtmp_multiple0[$i]['enabled'] == 1) { + if ($rtmp_multiple0[$i]['enabled'] == 'true') { $rtmp_push0 .= " push " . $rtmp_multiple0[$i]['url'] . ";"; } } $rtmp_push1 = ""; for ($i = 1; $i <= 11; $i++) { - if ($rtmp_multiple1[$i]['enabled'] == 1) { + if ($rtmp_multiple1[$i]['enabled'] == 'true') { $rtmp_push1 .= " push " . $rtmp_multiple1[$i]['url'] . ";"; }