rtmp1_multiple
This commit is contained in:
parent
fe7c9362bb
commit
35a09e1b20
|
|
@ -18,7 +18,7 @@ $defaults = [
|
|||
'service_custom' => 'disable',
|
||||
|
||||
'rtmp0_multiple' => [],
|
||||
'rtmp1_multiple1' => [],
|
||||
'rtmp1_multiple' => [],
|
||||
'srt_multiple' => [],
|
||||
'rtmp0' => [
|
||||
'resolution' => '1920x1080',
|
||||
|
|
|
|||
|
|
@ -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'] . ";";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue