diff --git a/rtmp/flv/writer.go b/rtmp/flv/writer.go index 711a1b7..a2703c6 100644 --- a/rtmp/flv/writer.go +++ b/rtmp/flv/writer.go @@ -25,6 +25,7 @@ func NewFLVWriter(stream_key string) (*FLVWriter, error) { "-hls_list_size", "4", "-hls_base_url", "/vid/" + stream_key + "/", "-hls_flags", "delete_segments", + "-hls_flags", "+program_date_time", "stream.m3u8", ) transcoder.Dir = base_dir + "/live/" + stream_key + "/"