stats

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MediaStatsReporter added in v1.1.0

type MediaStatsReporter struct {
	// contains filtered or unexported fields
}

func NewMediaStats added in v1.1.0

func NewMediaStats(sessionAPI types.SessionAPI) *MediaStatsReporter

func (*MediaStatsReporter) Close added in v1.1.0

func (m *MediaStatsReporter) Close()

func (*MediaStatsReporter) MediaReceived added in v1.1.0

func (m *MediaStatsReporter) MediaReceived(kind types.StreamKind, size int64)

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

func NewMonitor

func NewMonitor() *Monitor

func (*Monitor) AcceptIngress

func (m *Monitor) AcceptIngress(info *livekit.IngressInfo) bool

func (*Monitor) CanAccept added in v1.1.0

func (m *Monitor) CanAccept() bool

func (*Monitor) CanAcceptIngress

func (m *Monitor) CanAcceptIngress(info *livekit.IngressInfo) bool

func (*Monitor) GetCPULoad

func (m *Monitor) GetCPULoad() float64

func (*Monitor) IngressEnded

func (m *Monitor) IngressEnded(info *livekit.IngressInfo)

func (*Monitor) IngressStarted

func (m *Monitor) IngressStarted(info *livekit.IngressInfo)

func (*Monitor) Shutdown added in v1.1.0

func (m *Monitor) Shutdown()

Server is shutting down, but may stay up for some time for draining

func (*Monitor) Start

func (m *Monitor) Start(conf *config.Config) error

func (*Monitor) Stop

func (m *Monitor) Stop()

Stop the monitor before server termination

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL