diff --git a/rtmp/flv/writer.go b/rtmp/flv/writer.go index 3b5f60a..67c79bb 100644 --- a/rtmp/flv/writer.go +++ b/rtmp/flv/writer.go @@ -26,6 +26,7 @@ func NewFLVWriter(stream_key string) (*FLVWriter, error) { "-hls_time", "6", "-hls_list_size", "4", "-hls_base_url", "/vid/" + stream_key + "/", + "-hls_segment_type", "fmp4", "-hls_flags", "delete_segments", "-hls_flags", "+program_date_time", "stream.m3u8",