mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
15 lines
324 B
PHP
15 lines
324 B
PHP
<?php
|
|
|
|
require_once dirname(__FILE__) . '/../../videos/configuration.php';
|
|
|
|
if (!isCommandLineInterface()) {
|
|
return die('Command Line only');
|
|
}
|
|
|
|
AVideoPlugin::loadPlugin('Live');
|
|
|
|
$key = $argv[1];
|
|
$live_servers_id = intval(@$argv[2]);
|
|
$start = intval(@$argv[3]);
|
|
|
|
Live::controlRecording($key, $live_servers_id, $start);
|