Fixed to be able to replay when the RTMP streaming is ended
Changed to check the time position before playing