mirror of https://github.com/dani/vroom.git
Video conf based on SimpleWebRTC https://vroom.fws.fr/documentation
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
549 B
25 lines
549 B
#!/usr/bin/env perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
use File::Basename;
|
|
use lib dirname($0) . '/../lib';
|
|
use Vroom::Conf;
|
|
|
|
chdir dirname($0) . '/..';
|
|
|
|
my $config = Vroom::Conf::get_conf();
|
|
|
|
$ENV{'PERL5LIB'} = 'lib';
|
|
|
|
if ($config->{'daemon.backend'} eq 'morbo'){
|
|
exec ('/usr/bin/morbo',
|
|
'-l', 'http://' . $config->{'daemon.listen_ip'} . ':' . $config->{'daemon.listen_port'},
|
|
'-w', 'conf/settings.ini',
|
|
'-w', 'lib',
|
|
'-w', 'templates',
|
|
'-v', 'vroom.pl');
|
|
}
|
|
else{
|
|
exec ('/usr/bin/hypnotoad', '-f', 'vroom.pl');
|
|
}
|
|
|