segment hls and clear