rtmp_in_buffer_enabled=true didn't change anything. Also I tried with the MSE and WSPlayer check boxes, and though there was the 5 second lag, there were no freezes. And just to point out again, the mp4 created on the server from the RTMP input doesn't have lags, so it doesn't seem that...