feat(legacy): read stream config from file
- We don't delete the stream preferences from the database to prevent data loss. This will be handled in a future release.
This commit is contained in:
parent
ba73866e47
commit
5bf62dd9cb
14 changed files with 498 additions and 1237 deletions
|
@ -36,7 +36,7 @@
|
|||
if (count($ids) > 0) {
|
||||
$id = $ids[0];
|
||||
$streamData = Application_Model_StreamSetting::getStreamData($id);
|
||||
$url = "http://" . $streamData["${id}_host"] . ":" . $streamData["${id}_port"] . "/" . $streamData["${id}_mount"];
|
||||
$url = $streamData["${id}_public_url"];
|
||||
$type = $streamData["${id}_type"];
|
||||
$serverType = $streamData["${id}_output"];
|
||||
if ($type == "ogg")
|
||||
|
@ -68,7 +68,7 @@
|
|||
<?php
|
||||
foreach ($ids as $id) {
|
||||
$streamData = Application_Model_StreamSetting::getStreamData($id);
|
||||
$url = "http://" . $streamData["${id}_host"] . ":" . $streamData["${id}_port"] . "/" . $streamData["${id}_mount"];
|
||||
$url = $streamData["${id}_public_url"];
|
||||
$type = $streamData["${id}_type"];
|
||||
$serverType = $streamData["${id}_output"];
|
||||
if ($type == "ogg")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue