define playback retry rules and states

This commit is contained in:
Dmitry Sergeev
2026-08-27 00:43:08 +03:00
parent c9f237d9f1
commit 1eaab14793
5 changed files with 128 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
package playback
type State uint8
const (
StateIdle State = iota
StateConnecting
StatePlaying
StateReconnecting
StateFailed
StateStopping
)