1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
DanieL 2022-12-22 10:15:36 -03:00
parent fde68bdb45
commit dddb904c4d

View file

@ -800,6 +800,7 @@ class API extends PluginAbstract {
$obj->user['DonationButtons'] = _json_decode($obj->user['DonationButtons']);
$obj->livestream = LiveTransmition::createTransmitionIfNeed($user->getBdId());
$obj->livestream["users_id"] = $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());