Add new stuff
This commit is contained in:
parent
772f4f2dee
commit
100be90b27
1 changed files with 2 additions and 2 deletions
|
|
@ -220,10 +220,10 @@ alias hosts="sudo vim /etc/hosts"
|
|||
return 1
|
||||
fi
|
||||
|
||||
if [ "$1"=="yt" ]; then
|
||||
if [ "$1" = "yt" ]; then
|
||||
STREAM_KEY=$youtube_key
|
||||
STREAM_URI="rtmp://a.rtmp.youtube.com/live2/$STREAM_KEY"
|
||||
elif [ "$1"=="tw" ]; then
|
||||
elif [ "$1" = "tw" ]; then
|
||||
STREAM_KEY=$twitch_key
|
||||
SERVER="live-fra" # twitch server in frankfurt, see http://bashtech.net/twitch/ingest.php for list
|
||||
STREAM_URI="rtmp://$SERVER.twitch.tv/app/$STREAM_KEY"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue