1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
DanieL 2022-12-21 12:09:19 -03:00
parent fb787b9eab
commit 4d666833eb

View file

@ -802,9 +802,9 @@ class API extends PluginAbstract {
$obj->livestream = LiveTransmition::createTransmitionIfNeed($user->getBdId());
$obj->livestream["live_servers_id"] = Live::getCurrentLiveServersId();
$obj->livestream["server"] = $p->getServer($obj->livestream["live_servers_id"]) . "?p=" . $user->getPassword();
$obj->livestream["server_v2"] = Live::getRTMPLinkWithOutKey($user->getBdId());
$obj->livestream["poster"] = $global['webSiteRootURL'] . $p->getPosterImage($user->getBdId(), $obj->livestream["live_servers_id"]);
$obj->livestream["joinURL"] = Live::getLinkToLiveFromUsers_idAndLiveServer($user->getBdId(), $obj->livestream["live_servers_id"]);
$obj->livestream["joinURL_v2"] = Live::getRTMPLinkWithOutKey($user->getBdId());
$obj->livestream["activeLives"] = array();
$obj->livestream["latestLives"] = array();