2022-05-13 13:26:45 -04:00
|
|
|
package app
|
|
|
|
|
|
|
|
|
|
type AVstreamIO struct {
|
|
|
|
|
State string
|
2023-04-04 14:44:57 -04:00
|
|
|
Packet uint64 // counter
|
2023-05-05 06:03:48 -04:00
|
|
|
Time uint64 // sec
|
2023-04-04 14:44:57 -04:00
|
|
|
Size uint64 // bytes
|
2022-05-13 13:26:45 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AVstream struct {
|
2023-05-05 06:03:48 -04:00
|
|
|
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
|
2022-05-13 13:26:45 -04:00
|
|
|
}
|