Hey everyone,
Today we wanted to talk about Resume support or Source disconnect behaviour. This greatly impacts how your live streams behave when a source drops, reconnects or simply needs to restart. Whether this is because of power failure, connection failure or any other reason.
The default within MistServer is to immediately take the stream offline & open up the pushing endpoint for a new stream. This is great when you meant to take your stream offline, not so much when you are experiencing connecting issues and have processes/recordings/viewers connected that you'd rather not stop/disconnect. In this case you will want to enable Resume support within your stream optional parameters.
Resume support has two flavours. One that you can set up to keep stream (meta)data available for X amount of time, and should a source reconnect attempt to continue any existing tracks. The second is a sort of mix of the two where the stream data will stay available, however should a repush start the old data is destroyed & only the new data is shown.
We've made a guide on how to set up these flavours and when they're best used here