mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
This commit is contained in:
parent
6c7f0a9690
commit
c0afad09de
1 changed files with 2 additions and 1 deletions
|
@ -285,7 +285,8 @@ class API extends PluginAbstract {
|
|||
}
|
||||
$p = AVideoPlugin::loadPlugin("Live");
|
||||
|
||||
$obj->livestream = LiveTransmition::getFromDbByUser($user->getId());
|
||||
$obj->user = User::getUserFromID($user->getBdId());
|
||||
$obj->livestream = LiveTransmition::getFromDbByUser($user->getBdId());
|
||||
$obj->livestream["server"] = $p->getServer()."?p=".$user->getPassword();
|
||||
|
||||
return new ApiObject("", false, $obj);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue