Append the string "#EXT-X-ENDLIST\r\n" to m3u8 file when user live stop.

Append the string "#EXT-X-ENDLIST\r\n" to m3u8 file when user live stop.