nginx-rtmp-module
nginx-rtmp-module copied to clipboard
Severe lag for live streams
Hi
I'm experiencing very high lag when pulling a stream. Here's the very simple config:
rtmp {
server {
listen 1935;
chunk_size 4096;
application Test {
live on;
record off;
}
}
}
ffmpeg -i rtsp://192.168.100.60:554/stream1 -c:v copy -c:a copy -f flv rtmp://localhost/Test
VLC gives about a 6 sec lag when viewing rtmp://localhost/Test. It gives no lag at all when viewing the original RTSP stream (rtsp://192.168.100.60:554/stream1). Does anyone know why the lag is so severe?