The launcher passes --hls-live-edge=1 to streamlink when launching a stream, however for me this causes the stream to constantly lag and stutter. When launching streamlink through Streamlink Twitch GUI, it passes a different set of arguments and there is no lag.
Thus this PR adds STREAMLINK_ARGS as a configuration option to enable configuring the arguments that are passed to streamlink. Also, even though previously the default was --hls-live-edge=1 I would not set it as the default for STREAMLINK_ARGS to maximize compatibility and hopefully prevent others from having the same issue I had.
The launcher passes
--hls-live-edge=1
to streamlink when launching a stream, however for me this causes the stream to constantly lag and stutter. When launching streamlink through Streamlink Twitch GUI, it passes a different set of arguments and there is no lag.Thus this PR adds
STREAMLINK_ARGS
as a configuration option to enable configuring the arguments that are passed to streamlink. Also, even though previously the default was--hls-live-edge=1
I would not set it as the default forSTREAMLINK_ARGS
to maximize compatibility and hopefully prevent others from having the same issue I had.