Do the RTMP options support live rewind? (especially in the newest Ant Media Server version) I need to be able to rewind live to take notes.
Do the RTMP options support live rewind? (especially in the newest Ant Media Server version) I need to be able to rewind live to take notes.
Ant Media Server(2.4.2+) supports rewind live feature. v2.4.2 has not been released yet when writing this answer. I mean it's available as a snapshot releases in your account at antmedia.io
Anyway, let me tell how it works. Ant Media Server deletes the obsolete HLS segments by default. So we need to make Ant Media Server keep every HLS segments in the list. In order to do that
Open your application properties file with your favorite editor. i.e. for LiveApp it's /usr/local/antmedia/webapps/LiveApp/WEB-INF/red5-web.properties
Set or add following properties in the file
settings.hlsPlayListType=event
settings.hlsflags=
Default hls flags is delete_segments so that we just keep it empty
Save the file and restart Ant Media Server
sudo service antmedia restart
Send a Live Stream to Ant Media Server with WebRTC or RTMP. Let's assume that you're sending a live stream with stream1 id
Open the HLS player in your browser. https://YOUR_SERVER:5443/LiveApp/play.html?id=stream1&playOrder=hls
You should see the slider bar in the player as shown below. It's by default playing the Live edge

You can click any where in the slider to rewind back in the live stream as below.
