node-rtsp-rtmp-server icon indicating copy to clipboard operation
node-rtsp-rtmp-server copied to clipboard

How to Simulcast to Social Media?

Open CodeBradley opened this issue 4 years ago • 4 comments

How would I go about pushing an incoming RTMP stream out to YouTube Live for instance? With NGINX I would use a push directive in the config, for instance. Is there something relative to that here? The idea is to have many incoming RTMP streams that can be broadcasted to each broadcasters respective social media accounts.

CodeBradley avatar Apr 15 '20 21:04 CodeBradley

That's impossible with node-rtsp-rtmp-server alone. Use ffmpeg to relay your stream from node-rtsp-rtmp-server to YouTube Live.

iizukanao avatar Apr 16 '20 15:04 iizukanao

Do you think relaying to ffmpeg would be more effective then pushing the stream through nginx rtmp module? I was thinking of using docker images and nginx to do it, but this library looked appealing. I've never considered using ffmpeg.

CodeBradley avatar Apr 17 '20 04:04 CodeBradley

I don't know much about the effectiveness, but I think ffmpeg is easier to setup than nginx.

iizukanao avatar Apr 18 '20 02:04 iizukanao

@CodeBradley I am playing with similar ideas and found this NPM that may be interesting for you to look at: https://github.com/illuspas/Node-Media-Server

chrisspiegl avatar Apr 24 '20 07:04 chrisspiegl