-
Notifications
You must be signed in to change notification settings - Fork 982
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel Neto
committed
Jan 12, 2025
1 parent
e5c41d4
commit 5dc7bee
Showing
16 changed files
with
280 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<div class="tabbable-line "> | ||
<ul class="nav nav-tabs"> | ||
<li class="active" data-toggle="tooltip" data-placement="bottom" title="<?php echo __('Stream Software'); ?>"> | ||
<a data-toggle="tab" href="#tabStreamSoftware"> | ||
<i class="fa-solid fa-key"></i> | ||
<?php echo __('Stream Software'); ?> | ||
</a> | ||
</li> | ||
<li class="" data-toggle="tooltip" data-placement="bottom" title="<?php echo __('Webcam'); ?>"> | ||
<a data-toggle="tab" href="#tabWebcam"> | ||
<i class="fa-solid fa-camera"></i> | ||
<?php echo __('Webcam'); ?> | ||
</a> | ||
</li> | ||
</ul> | ||
<div class="tab-content"> | ||
<div id="tabStreamSoftware" class="tab-pane fade in active"> | ||
<?php | ||
include $global['systemRootPath'] . 'plugin/Live/tabs/tabStreamSettings.software.php'; | ||
?> | ||
</div> | ||
<div id="tabWebcam" class="tab-pane fade "> | ||
<?php | ||
include $global['systemRootPath'] . 'plugin/WebRTC/panel.php'; | ||
?> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
<?php | ||
require_once __DIR__ . '/../../videos/configuration.php'; | ||
AVideoPlugin::loadPlugin("Live"); | ||
$_GET['avideoIframe'] = 1; | ||
$_page = new Page(array('Webcam')); | ||
if (empty($_REQUEST['avideoIframe'])) { | ||
?> | ||
<div class="container"> | ||
<?php | ||
include __DIR__ . '/panel.php'; | ||
?> | ||
</div> | ||
<style> | ||
body { | ||
overflow: hidden; | ||
} | ||
|
||
video { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
} | ||
</style> | ||
|
||
<?php | ||
} else { | ||
include __DIR__ . '/video.php'; | ||
?> | ||
<div id="webcamMediaControls" class="showWhenWebRTCIsConnected"> | ||
<?php | ||
include __DIR__ . '/video.php'; | ||
include __DIR__ . '/panel.medias.php'; | ||
include __DIR__ . '/panel.buttons.php'; | ||
?> | ||
<div id="webcamMedias"> | ||
<?php | ||
?> | ||
</div> | ||
<div id="webcamMediaControls" class="showWhenWebRTCIsConnected"> | ||
<?php | ||
include __DIR__ . '/panel.medias.php'; | ||
include __DIR__ . '/panel.buttons.php'; | ||
?> | ||
</div> | ||
<div id="webcamMediaControlsMessage" class="alert alert-danger showWhenWebRTCIsNotConnected text-center"> | ||
<div class="fa-3x"> | ||
<i class="fa-solid fa-triangle-exclamation fa-fade"></i> | ||
</div> | ||
<strong>Error:</strong> Unable to connect to the Webcam server.<br> | ||
<span>Please verify the server status and resolve any issues.</span> | ||
</div> | ||
<div id="webcamMediaControlsMessage" class="alert alert-danger showWhenWebRTCIsNotConnected text-center" style="display: none;"> | ||
<div class="fa-3x"> | ||
<i class="fa-solid fa-triangle-exclamation fa-fade"></i> | ||
</div> | ||
<strong>Error:</strong> Unable to connect to the Webcam server.<br> | ||
<span>Please verify the server status and resolve any issues.</span> | ||
</div> | ||
|
||
<script> | ||
$(document).ready(function() { | ||
startWebRTC(); | ||
}); | ||
</script> | ||
<script> | ||
$(document).ready(function() { | ||
startWebRTC(); | ||
}); | ||
</script> | ||
<?php | ||
} | ||
|
||
$_page->print(); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
require_once dirname(__FILE__) . '/../../videos/configuration.php'; | ||
|
||
$objP = AVideoPlugin::getDataObject('WebRTC'); | ||
|
||
header('Content-Type: application/json'); | ||
$obj = array('error'=>false, 'msg'=>''); | ||
|
||
$obj['port'] = $objP->port; | ||
$obj['isActive'] = WebRTC::checkIfIsActive(); | ||
$obj['json'] = WebRTC::getJson(); | ||
$obj['log'] = WebRTC::getLog(); | ||
|
||
echo json_encode($obj); | ||
?> |
Oops, something went wrong.