switch to fragmented mp4 from ts

This commit is contained in:
Muaz Ahmad 2023-08-22 14:58:01 +05:00
parent 699666695e
commit 7b5021f8d2

View file

@ -26,6 +26,7 @@ func NewFLVWriter(stream_key string) (*FLVWriter, error) {
"-hls_time", "6", "-hls_time", "6",
"-hls_list_size", "4", "-hls_list_size", "4",
"-hls_base_url", "/vid/" + stream_key + "/", "-hls_base_url", "/vid/" + stream_key + "/",
"-hls_segment_type", "fmp4",
"-hls_flags", "delete_segments", "-hls_flags", "delete_segments",
"-hls_flags", "+program_date_time", "-hls_flags", "+program_date_time",
"stream.m3u8", "stream.m3u8",