tor_multipath_voip/scripts/container/dcall-simple-client
2020-02-02 17:44:33 +01:00

20 lines
425 B
Bash
Executable file

#!/bin/bash
mkdir -p $3/{log,shared,res}
donar \
-a naive \
-c \
-o $3/shared/onion_services.pub \
-l $1 \
-e 5000 \
-r 5000 \
> $3/log/client-donar-stdout.log 2> $3/log/client-donar-stderr.log &
dcall \
-t filesrc \
-a file:///assets/i_have_a_dream.mp3 \
-s fakesink \
-b 127.0.0.1 \
-l $2 \
-d $3/log/client-dcall-gstreamer.log \
> $3/log/client-dcall-stdout.log 2> $3/log/client-dcall-stderr.log