Fixed to be able to replay when the RTMP streaming is ended