Files
core/restream/app/avstream.go
2023-12-06 20:23:22 +01:00

33 lines
670 B
Go

package app
type AVstreamIO struct {
State string
Packet uint64 // counter
Time uint64 // sec
Size uint64 // bytes
}
type AVStreamSwap struct {
URL string
Status string
LastURL string
LastError string
}
type AVstream struct {
Input AVstreamIO
Output AVstreamIO
Aqueue uint64 // gauge
Queue uint64 // gauge
Dup uint64 // counter
Drop uint64 // counter
Enc uint64 // counter
Looping bool
LoopingRuntime uint64 // sec
Duplicating bool
GOP string
Mode string // "file" or "live"
Debug interface{}
Swap AVStreamSwap
}