Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sample ¶
type Sample struct {
Timestamp float64 `json:"ts"`
Client string `json:"client"`
Host string `json:"host"`
Instance int `json:"instance"`
Viewer string `json:"viewer"`
BitrateBps float64 `json:"bitrate_bps"`
FPS float64 `json:"fps"`
DecoderSmoothFPS float64 `json:"dec_sm_fps"`
DecoderBufferFPS float64 `json:"dec_buf_fps"`
EstimatedDecoderFPS int `json:"est_dec_fps"`
FrameJitterUS float64 `json:"frame_jitter_us"`
PacketJitterUS float64 `json:"packet_jitter_us"`
FramesComplete int64 `json:"frames_complete"`
FramesLost int64 `json:"frames_lost"`
PLISent int64 `json:"pli_sent"`
MaxRecvSID uint8 `json:"max_recv_sid"`
MaxRecvTID uint8 `json:"max_recv_tid"`
Errors map[string]int32 `json:"errors,omitempty"`
}
Sample is the JSON structure written to the JSONL file.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer writes JSONL stats samples to a file.
func (*Writer) Subscriber ¶
func (w *Writer) Subscriber() func(vp9_stats.Period, vp9_stats.VideoQualitySample)
Subscriber returns a function compatible with vp9_stats.Publisher.AddSubscriber.
Click to show internal directories.
Click to hide internal directories.