streamlinkで途切れるなら--hls-segment-attemptsとかこの辺変えれば
https://streamlink.github.io/cli.html#command-line-usage
ここをattemptとかretryとかdelayとかtimeout辺りで検索すれば色々あるぞ