From 24f21d41f0ad8d9c6b762dd56a76b29328f65def Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 26 Apr 2017 18:47:17 +0200 Subject: Add mountpoint /main. --- bin/capture+encode+serve | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bin/capture+encode+serve') diff --git a/bin/capture+encode+serve b/bin/capture+encode+serve index b263c22..e3fce44 100755 --- a/bin/capture+encode+serve +++ b/bin/capture+encode+serve @@ -171,6 +171,17 @@ for my $i ( 0 .. $#ADEVICES ) { ); push @mounts, $mount; } +if ( @ADEVICES and @VDEVICES ) { + my $mount = "/main"; + $mounts->add_factory( + $mount, + factory( + mic( $ADEVICES[0], $#VDEVICES + 1 ), + cam( $VDEVICES[0], 0 ) + ) + ); + push @mounts, $mount; +} # don't need the ref to the mapper anymore undef $mounts; -- cgit v1.2.3