diff --git a/restreamer/restreamer/generate_hls.py b/restreamer/restreamer/generate_hls.py index 98e097f..dc92160 100644 --- a/restreamer/restreamer/generate_hls.py +++ b/restreamer/restreamer/generate_hls.py @@ -26,7 +26,7 @@ def generate_master(playlists): lines += [ # We name each variant with a VIDEO rendition with no url '#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="{name}",NAME="{name}",AUTOSELECT=YES,DEFAULT=YES'.format(name=name), - '#EXT-X-STREAM-INF:VIDEO="{name}",NAME="{name},BANDWIDTH={bandwidth}"'.format(name=name, bandwidth=bandwidth), + '#EXT-X-STREAM-INF:VIDEO="{name}",NAME="{name}",BANDWIDTH={bandwidth}'.format(name=name, bandwidth=bandwidth), url, ] return "\n".join(lines) + '\n'