Now adds EXT-X-PROGRAM-DATE-TIME to m3u8 for player syncing
This commit is contained in:
parent
e026a83d06
commit
21fc4a5816
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ func NewFLVWriter(stream_key string) (*FLVWriter, error) {
|
||||||
"-hls_list_size", "4",
|
"-hls_list_size", "4",
|
||||||
"-hls_base_url", "/vid/" + stream_key + "/",
|
"-hls_base_url", "/vid/" + stream_key + "/",
|
||||||
"-hls_flags", "delete_segments",
|
"-hls_flags", "delete_segments",
|
||||||
|
"-hls_flags", "+program_date_time",
|
||||||
"stream.m3u8",
|
"stream.m3u8",
|
||||||
)
|
)
|
||||||
transcoder.Dir = base_dir + "/live/" + stream_key + "/"
|
transcoder.Dir = base_dir + "/live/" + stream_key + "/"
|
||||||
|
|
Loading…
Reference in a new issue