I'm currently setting up a Wowza cluster, making use of a redundant origin server setup and several edge servers.
For the origin server redundancy we are making use of Linux high availability heartbeat/pacemaker to have one virtual IP address for our customers to stream to. When our main origin server fails, the ip address is moved to the other server(this happens in less than a second). The backup origin server also directly receives the stream source signal.
We chose for this setup, because the viewers of streams will not get disconnected when the switch between origin server happens(in the live application we use the virtual ip address as originURL). Unfortunately there is quite a big pause when the switch happens. The stream freezes for about 10-12 seconds before it starts playing again. Is it somehow possible to reduce the amount of time the livestream freezes? Or is it somehow possible to make viewers not get disconnected when using both origin IP's in the originURL configuration option?
It is probably exactly 12 seconds, which is the default MediaCaster StreamTimeout. When a client connects to an edge the edge tries to get the stream from the primary origin, if no response for 12 seconds the edge will fail-over to the backup origin. You can control this timeout by adding this Property to the edge Application.xml: