1
0
mirror of https://github.com/i5ik/ViewFinderJS.git synced 2021-07-04 22:33:28 +03:00
This commit is contained in:
Cris Stringfellow
2020-07-18 07:53:13 +00:00
parent 6d0ddf8d6f
commit cd78b7e777

View File

@@ -1,14 +1,16 @@
#!/bin/bash
username=$(whoami)
let audio=$2-2
trap 'sudo kill $BGPID; exit' SIGINT
trap 'sudo kill $BGPID; exit' SIGKILL
pulseaudio -k
pulseaudio --start
username=$(whoami)
cd parec-server
node -r esm index.js 8003 &
node -r esm index.js $audio &
BGPID=$!
cd ..
node index.js 5002 8002 xxxcookie $username token2
node index.js $1 $2 $3 $username $5