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

Push a stream to several dynamic urls

Open 0xARROWK opened this issue 3 years ago • 3 comments

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

0xARROWK avatar Apr 01 '21 11:04 0xARROWK

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?

ggolda avatar Apr 06 '21 22:04 ggolda

Same here ? No solution for it ?

lassos avatar Nov 03 '21 08:11 lassos

Same problem +1.

seedoubleu avatar Feb 24 '22 01:02 seedoubleu