Versions in this module Expand all Collapse all v1 v1.10.11 Aug 7, 2021 Changes in this version + var AudioTracks = prometheus.NewGauge(prometheus.GaugeOpts{ ... }) + var Peers = prometheus.NewGauge(prometheus.GaugeOpts{ ... }) + var Sessions = prometheus.NewGauge(prometheus.GaugeOpts{ ... }) + var VideoTracks = prometheus.NewGauge(prometheus.GaugeOpts{ ... }) + func InitStats() + type Stream struct + Buffer *buffer.Buffer + func NewStream(buffer *buffer.Buffer) *Stream + func (s *Stream) CalcStats() + func (s *Stream) GetCName() string + func (s *Stream) GetDriftInMillis() uint64 + func (s *Stream) SetCName(cname string) + func (s *Stream) SetDriftInMillis(driftInMillis uint64) + func (s *Stream) UpdateStats(stats buffer.Stats) (hasDiff bool, diffStats buffer.Stats)