Hi,
I’m looking for a solution to perform a kind of “real time load balancer” for live events which would work as follow :
-
for low audience streams, deliver HLS using a standard wowza “live” application and m3u8 served by wowza like http://[wowza-ip-address]:1935/live/smil:myStream.smil/playlist.m3u8
-
for high audience streams, deliver HLS using a wowza “live HTTP origin” to a CDN , and deliver m3u8 using the CDN infrastructure.
In order to do this in real time and to reduce CDN costs, the player would contact a service that would provide the suitable HLS url given the number of connections to the event (which I can retrieve from wowza). For low audience it will return the m3u8 from wowza (http://[wowza-ip-address]:1935/live/smil:myStream.smil/playlist.m3u8), for high audience the one from the CDN.
The key point here is that I would need one RTMP input stream to point to two different applications, a standard “live” application and a “live HTTP origin” application.
Is that possible with wowza ? If no, is there another way to set up such a mecanism ?
Thanks for your help.