tor_multipath_voip/scripts/container/dcall-simple-server
2020-02-05 10:59:33 +01:00

25 lines
531 B
Bash
Executable file

#!/bin/bash
mkdir -p $3/{log,shared}
cd $3/shared
donar \
-a naive \
-s \
-l $1 \
-b \
-e 5000 \
-r 5000 \
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
measlat -l -h 127.0.0.1 -p 5000 -r -c 1 \
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log
sleep 10
dcall \
-t filesrc \
-a file:///assets/i_have_a_dream.mp3 \
-s fakesink \
-b 127.0.0.1 \
-l $2 \
-d ../log/server-dcall-gstreamer.log \
> ../log/server-dcall-stdout.log 2> ../log/server-dcall-stderr.log