nginx-rtmp-module
nginx-rtmp-module copied to clipboard
Push a stream to several dynamic urls
Hello to all !
I'm opening this issue because I have a problem that I've been thinking about for some time and for which I can't find a solution.
CONTEXT :
I have a customer who wants a specific functionality which is the following : a user must be able to enter a url and a stream key dynamically on the site and when he starts a stream, this stream must be redirected to the url and the key that he specified dynamically in the application. So far so good, as I am able to do this by redirecting the stream with a php redirect at the on_publish event.
PROBLEM :
The client wants the user to be able to enter multiple URLs where the stream should be redirected (for example a twitch url and a youtube url with associated stream keys) and this is not feasible in php, as you can only do one redirect.
That's why I'm asking for your help ! Do you have an idea of how I could do this ?
Thank you for reading. If you need more details or if you have any questions, don't hesitate to ask me.
Best regards,
Matéo
Have the identical question. Currently on_publish
can receive only 1 destination from Location
header, but as I see nothing prevents it from receiving several destinations since we already can declare multiple push
blocks.
Any ideas how to bypass this restriction?
Same here ? No solution for it ?
Same problem +1.