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

Authenticate unique streams keys for restreaming #649

Open RogueEmailing opened 2 weeks ago

RogueEmailing commented 2 weeks ago

So I want to restream to multiple different providers (kick, twitch and youtube) however. I can only supply 1 stream key, so how can i do conditional statements or something that says, if the stream key (name on the admin dash) is this, then stream to these rtmp urls, however if it is that stream key, then stream to those rtmp urls?