tor_multipath_voip/scripts/container/dcall-lightning-server-single

26 lines
467 B
Text
Raw Normal View History

2020-02-02 18:13:23 +00:00
#!/bin/bash
mkdir -p $4/{log,shared}
cd $4/shared
donar \
-a lightning \
-s \
-n \
-l $1 \
-p $2 \
2020-02-05 09:29:41 +00:00
-b \
2020-02-02 18:13:23 +00:00
-e 5000 \
-r 5000 \
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
2020-02-05 09:29:41 +00:00
measlat -l -h 127.0.0.1 -p 5000 -r -c 2
2020-02-02 18:13:23 +00:00
dcall \
-t filesrc \
-a file:///assets/i_have_a_dream.mp3 \
-s fakesink \
-b 127.0.0.1 \
-l $3 \
-d ../log/server-dcall-gstreamer.log \
> ../log/server-dcall-stdout.log 2> ../log/server-dcall-stderr.log