support live/vod HLS mode