illuspas / Node-Media-Server

A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
https://www.npmjs.com/package/node-media-server
MIT License
5.89k stars 1.51k forks source link

DASH Stream Fails on Server Restart #544

Open Nathan-Hammond-WT opened 1 year ago

Nathan-Hammond-WT commented 1 year ago

Hello,

I am trying to implement a DASH live stream using node-media-server. I want the user to be able to launch the stream using different settings, which means I need to stop the server and start it again with a different config object. The live stream works fine the first time I start the server, but if I stop the server, restart it, and try to launch a new livestream, the stream fails after a short time. FFMPEG keeps running, but the .m4s files are deleted and the console says that the RTMP server has closed.

I am not sure if this is a problem with my implementation or if there is a bug with node-media-server.