Question / Help Is there any way to shortcut Azubu.tv's WEB API?

sleepsomewhile

New Member
Hello there.

I have a local rtmp-server from which i stream (by rtmp protocol) on some stream-services like hitbox, twitch and etc.

And ALL of them use static rtmp address. Just for the normal people. But Azubu.tv is not. They have web API that gives OBS (i saw that) an rtmp linkthat will expire by the end of the stream.

So... I battled this for about a day already, but... It cant :(

Seems that there is no static URLS anywhere. Only dynamic ones. So i need to go o the config of NGINX and write down dynamic url for EACH stream. This is kinda of "?!??!?!?!11" or smth.

Could somebody tell me something usefull about that problem?

I think that nginx.conf is not support any WEB API's for any means. Just rtmp's. So...Like ALL OF THE another stream-services do.

Please help :(
 

c3r1c3

Member
I would write a script. Use curl to grab the info (and sed/awk to parse it, if need be), and insert said URL into nginx via a variable passed from the script.
 
Top