Skip to content

Commit

Permalink
Pass frag_duration as integer (#86375)
Browse files Browse the repository at this point in the history
fixes undefined
  • Loading branch information
uvjustin authored and frenck committed Jan 22, 2023
1 parent 974601c commit 79a3d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/stream/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def make_new_av(
# of the range, hoping that the parts stay pretty well bounded, and we adjust the part
# durations a bit in the hls metadata so that everything "looks" ok.
"frag_duration": str(
self._stream_settings.part_target_duration * 9e5
int(self._stream_settings.part_target_duration * 9e5)
),
}
if self._stream_settings.ll_hls
Expand Down

0 comments on commit 79a3d2e

Please sign in to comment.