I have Wowza set up successfully re-streaming an Icecast server over RTMP.
My service has occasional peaks of high activity and I want to employ a second EC2 instance during these periods. Before I started with Wowza, I successfully employed haproxy to balance a master/slave pair of Icecast servers, streaming MP3 over HTTP.
Is there anything to stop me performing the same feat with RTMP? I am thinking of setting up haproxy to proxy raw TCP data on port 1935, with each new connection going to an alternate instance of Wowza. (Both Wowza instances will be re-streaming a single Icecast server).
Does anybody have any experience with this? Or is there a better solution?
If anybody foresees any problems with this then I'd really appreciate learning about them now
JW Player and Flowplayer have built-in support for the "redirect" application that you can set up on the Load Balancer. Or if you need to adapt to a custom player, there is sample client in the package, or you can refer to the Flex version LiveVideoStreaming example player (clientFlex)