I’m looking for the best way to set up primary and backup entry points for two encoders live streaming the same content, just like the way it is set up with Wowza Streaming Cloud or Youtube Live.
Our Wowza Streaming Engine server is running on Amazon EC2.
How do we best set this up and ensure an uninterrupted experience for those wathcing a live stream when one of the encoders fails?
To break the silence let’s focus on one thing then:
Encoder redundancy by having two live encoders streaming to the same Wowza Streaming Engine server, to the same application and to the same stream name:
My first idea would be to have two origin servers accepting streams from different encoders and have edge servers set up with primary and backup origin servers. But if you want to use only a single origin server, you could achieve the same thing using different vhosts. Maybe even simply using different applications in the same vhost, but I haven’t tried this.
However, if you’re trying to achieve redundancy for encoders themselves, I’m not sure this will work. If I remember well, origin failover works only if the origin server (application) itself is not operational, not sure if the failover would happen if only the stream is not available on the primary origin, but the origin itself is still operational (worth checking out, though).
In your last example, I’m not sure how the switchover would happen? If it happens on the web-application level, then it’s clear, but I’m not sure if there is any way to do it in Wowza itself.