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.9k stars 1.51k forks source link

Broadcasting HLS / MPEG-TS / RTMP at the same time? #508

Open leobgm opened 2 years ago

leobgm commented 2 years ago

Hey there. I'm looking for a way to receive a stream from a remote source, i.e http://example.com/live and broadcast it to the clients as HLS, MPEG-TS and RTMP.

I'd handle the first part with FFMPEG to send data to a rtmp server (Which is node media server in this case)

But the second part, I couldn't find a solution for MPEG-TS in the docs. Actually I'm new to this stuff.

A little help maybe?