Do a second state check before force-restarting stream #14

Open
opened 2025-03-20 14:33:56 +00:00 by trysdyn · 0 comments
Owner

Right now the various interfaces catch the player falling to "error" state and set a 3 second wait before trying to resume playing. It works for ovenemprex as is.

To expand to using this for automated event management we need to not just blindly fire "Wait 3 seconds, restart" because that can make some transitions between streams jerky start/stop affairs. So we need to wait 3 seconds, then check player state again, then force a restart if it's still broken.

Right now the various interfaces catch the player falling to "error" state and set a 3 second wait before trying to resume playing. It works for ovenemprex as is. To expand to using this for automated event management we need to not just blindly fire "Wait 3 seconds, restart" because that can make some transitions between streams jerky start/stop affairs. So we need to wait 3 seconds, then check player state again, then force a restart if it's still broken.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: trysdyn/ovenemprex#14
No description provided.