Node-Media-Server icon indicating copy to clipboard operation
Node-Media-Server copied to clipboard

Video keep streaming from the very beginning instead of live stream

Open Zhoros opened this issue 1 year ago • 0 comments

ffmpeg -f gdigrab -framerate 10 -i desktop -c:v libx264 -preset ultrafast -tune zerolatency -f flv rtmp://192.168.1.3/live/STREAM_NAME

nodejs code

const config = { rtmp: { port: 1935, chunk_size: 60000, gop_cache: true, ping: 30, ping_timeout: 60, }, http: { port: 8000, allow_origin: '*', }, };

const nms = new NodeMediaServer(config); nms.run()

when I access the stream through web page, it keeps playing the video from the very beginning. how do I fix this?

Zhoros avatar Jun 11 '24 13:06 Zhoros