|
|
@ -140,10 +140,13 @@ stream() { |
|
|
|
read -r quality |
|
|
|
read -r quality |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -n "$lowLatency" ]; then |
|
|
|
if [ -z "$lowLatency" ]; then |
|
|
|
|
|
|
|
arguments="\ |
|
|
|
|
|
|
|
--player-args '--force-window'" |
|
|
|
|
|
|
|
else |
|
|
|
arguments="\ |
|
|
|
arguments="\ |
|
|
|
--twitch-low-latency \ |
|
|
|
--twitch-low-latency \ |
|
|
|
--player-args '--cache=yes --demuxer-max-bytes=750k'" |
|
|
|
--player-args '--force-window --cache=yes --demuxer-max-bytes=750k'" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
echo "Starting stream $channel @ $quality" |
|
|
|
echo "Starting stream $channel @ $quality" |
|
|
|