define playback retry rules and states
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package playback
|
||||
|
||||
type State uint8
|
||||
|
||||
const (
|
||||
StateIdle State = iota
|
||||
StateConnecting
|
||||
StatePlaying
|
||||
StateReconnecting
|
||||
StateFailed
|
||||
StateStopping
|
||||
)
|
||||
Reference in New Issue
Block a user