nginx-rtmp-module icon indicating copy to clipboard operation
nginx-rtmp-module copied to clipboard

forwarding published streams to other applications?

Open NyaomiDEV opened this issue 3 years ago • 0 comments

I've got this configuration here; the push directive isn't letting me stream. Trying to play from the 'final' endpoints doesn't show anything in mpv. What am I doing wrong?

rtmp {
        server {
                listen 1935;

                application liveall {
                        live on;
                        push rtmp://127.0.0.1/youtube;
                        push rtmp://127.0.0.1/twitch;
                }

                application youtube {
                        live on;
                        push //youtube (of course this is to hide my api key and there is an actual url here)
                }

                application twitch {
                        live on;
                        push //twitch (same as above)
                }

                application twitchtest {
                        live on;
                        push //twitch inspector (same as above)
                }
        }
}

NyaomiDEV avatar Dec 14 '21 17:12 NyaomiDEV