We have a 2 origins receiving different rtmp stream ( each has its own encoder pushing) and two edges in front of those origins. The whole set up is accelerated by a CDN.
We are running HDS and HLS with DVR.
I am trying to simulate encoder failure to origin 1. Normally the edges would search for the presence of a live fresh stream on the origin 2 and switch. However, since we have DVR, the edge never sees a failure as the origin1 happily returns the now (not live) dvr chunks.. and no switch.
How to do i force the origins to try both edges for a live feed before failing back to the recorded stream??
Also, in a separate but related thread, we normally sync the rtmp streams (FMLE) by sending unix timestamps so that when switching the switch is smooth. In this scenario we are using FFMPEG, does a flag exist for sending similar metadata?