Skip to content

Commit

Permalink
liquidsoap 1.4 require differents streams bitrates for player to select
Browse files Browse the repository at this point in the history
  • Loading branch information
mp3butcher committed Dec 13, 2023
1 parent 61aa1fb commit 76010bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playout/libretime_playout/liquidsoap/1.4/ls_lib.liq
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ def start_hls(input_main_mount, streamsref, servpath, segment_duration, segments
streams_infos = ref([])
#generate dummy stream infos does the trick for 1.4
list.iter(fun(item) ->
streams_infos := list.append([(fst(item), (0,'',''))], !streams_infos )
streams_infos := list.append([(fst(item), (list.length(!streams_infos)+1,'',''))], !streams_infos )
, streamsref())
argstream = !streamsref
arginfos = !streams_infos
Expand Down

0 comments on commit 76010bc

Please sign in to comment.