summaryrefslogtreecommitdiff
path: root/bin/capture+encode+serve
diff options
context:
space:
mode:
Diffstat (limited to 'bin/capture+encode+serve')
-rwxr-xr-xbin/capture+encode+serve11
1 files changed, 11 insertions, 0 deletions
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;