mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
parent
18d3d19077
commit
8044652482
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ if (empty($meetPlugin)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$rtmpLink = "";
|
||||||
$livePlugin = AVideoPlugin::getDataObjectIfEnabled("Live");
|
$livePlugin = AVideoPlugin::getDataObjectIfEnabled("Live");
|
||||||
if (!empty($livePlugin) && User::canStream()) {
|
if (!empty($livePlugin) && User::canStream()) {
|
||||||
$trasnmition = LiveTransmition::createTransmitionIfNeed(User::getId());
|
$trasnmition = LiveTransmition::createTransmitionIfNeed(User::getId());
|
||||||
|
@ -101,7 +101,7 @@ if (empty($meet_schedule_id)) {
|
||||||
|
|
||||||
var src = $(iframe).attr('src');
|
var src = $(iframe).attr('src');
|
||||||
var srcParts = src.split("#");
|
var srcParts = src.split("#");
|
||||||
var newSRC = srcParts[0]+"&getRTMPLink=<?php echo urlencode(Live::getRTMPLink(User::getId())); ?>#"+srcParts[1];
|
var newSRC = srcParts[0]+"&getRTMPLink=<?php echo urlencode($rtmpLink); ?>#"+srcParts[1];
|
||||||
|
|
||||||
$(iframe).attr('src',newSRC);
|
$(iframe).attr('src',newSRC);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue