switch to fragmented mp4 from ts
This commit is contained in:
parent
699666695e
commit
7b5021f8d2
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue