mirror of
https://github.com/datarhei/core.git
synced 2025-10-24 16:30:26 +08:00
33 lines
670 B
Go
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
|
|
}
|