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

Dynamic pull with Ffmpeg custom command? #628

Open ifxsoftware opened 4 months ago

ifxsoftware commented 4 months ago

Hi

Im trying to make an on demand RTMP stream that will start FFMPEG with my own arguments to generate a stream. I saw the Dynamic Pull but maybe it only copies streams from what I can see. Any ways to make ffmpeg a stream generator that only starts when the user pulls the stream?