How to make Ant Media Server HLS playlist continue to other video without refreshing?

Viewed 372

Steps to reproduce:

  1. Create a playlist with more than 1 video.
  2. After each video finishes, it won't let you continue watching unless you refresh.

Expected behavior:

m3u8 file should not have #EXT-X-ENDLIST in it.

Actual behavior:

m3u8 has #EXT-X-ENDLIST in it.

1 Answers

Can you add these settings in your re5-web.properties file and restart the server, then try again please. Location: <ams_installation_dir>/webapps//WEB-INF/red5-web.properties;

settings.hlsflags=delete_segments+append_list+omit_endlist
settings.deleteHLSFilesOnEnded=false

The setting of omit_endlist will disable putting #EXT-X-ENDLIST at the end of your m3u8 file as referenced here: http://ffmpeg.org/ffmpeg-formats.html#hls-2

Cheers.

Related