Wowza Community

Primary/backup streams switch randomly

I’m using 2 OBS encoders to stream to primary and backup and then to Akamai. Actually, the redundancy works fine for me, meaning that when the primary stream does down, it switches to backup, sometimes with a freeze, sometimes without.
However, even without the primary stream failure, sometimes (randomly) the streams would switch from primary to backup and back and forth, during session.

Is there anything I could tweak to get this to work consistently?

Thank you.