12 lines
378 B
Bash
12 lines
378 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [[ $# -lt 2 ]] ; then
|
||
|
echo "Not enough arguments supplied" >&2
|
||
|
echo "you need to pass the peertubeserver name as the fisrt argument" >&2
|
||
|
echo "and the streaming key as the second argument" >&2
|
||
|
echo "expl: `basename $0` sub.domain.tld 69ac2d29-eba4-4d5f-a3a6-6047e6768ffb" >&2
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
./stream_pattern_sine.sh $1 $2 3600 1920x1080 3072 160
|