arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.22k stars 3.49k forks source link

Stream to facebook and youtube #1142

Open jersobh opened 6 years ago

jersobh commented 6 years ago

Hi there,

I couldn't find out how to make a dynamic arg/param to stream to both youtube and facebook. It seems we can't get the args separately.

Chinoman10 commented 6 years ago

Simply make 2 push lines out of 1 application... A bit like so: rtmp { server { listen 1935; chunk_size 4096; application live { push rtmp://link/to/your/youtube; push rtmp://link/to/facebook; } } } Makes sense? :)

jersobh commented 6 years ago

The question is: how to make the stream keys dynamic? -> rtmp://link/to/your/youtube;rtmp://link/to/facebook;

2017-12-19 1:28 GMT-02:00 Sérgio Rebelo notifications@github.com:

Simply make 2 push lines out of 1 application... A bit like so: rtmp { server { listen 1935; chunk_size 4096; application live { push rtmp://link/to/your/youtube; push rtmp://link/to/facebook; } } } Makes sense? :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arut/nginx-rtmp-module/issues/1142#issuecomment-352629460, or mute the thread https://github.com/notifications/unsubscribe-auth/AEcnQo6gb9ymFHBzraCvhK_RpM7nM-8Qks5tBy12gaJpZM4QVB1X .

fas3r commented 5 years ago

Hello @jersobh ,

I know it's old but did you find a way by any chance ? Thanks

ishanShahzad commented 3 years ago

@jersobh did you find a way? @Chinoman10 @fas3r @nl0 @jbochi any answer?