Documentation ¶
Index ¶
- type Monitor
- func (m *Monitor) AcceptRequest(req *livekit.StartEgressRequest)
- func (m *Monitor) CanAcceptRequest(req *livekit.StartEgressRequest) bool
- func (m *Monitor) EgressEnded(req *livekit.StartEgressRequest)
- func (m *Monitor) EgressStarted(req *livekit.StartEgressRequest)
- func (m *Monitor) GetCPULoad() float64
- func (m *Monitor) Start(conf *config.ServiceConfig, isAvailable func() float64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
func NewMonitor ¶
func NewMonitor() *Monitor
func (*Monitor) AcceptRequest ¶
func (m *Monitor) AcceptRequest(req *livekit.StartEgressRequest)
func (*Monitor) CanAcceptRequest ¶
func (m *Monitor) CanAcceptRequest(req *livekit.StartEgressRequest) bool
func (*Monitor) EgressEnded ¶
func (m *Monitor) EgressEnded(req *livekit.StartEgressRequest)
func (*Monitor) EgressStarted ¶
func (m *Monitor) EgressStarted(req *livekit.StartEgressRequest)
func (*Monitor) GetCPULoad ¶
Click to show internal directories.
Click to hide internal directories.