MCPcopy
hub / github.com/livekit/livekit / Duration

Method Duration

pkg/sfu/ccutils/prober.go:367–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

365}
366
367func (p ProbeClusterResult) Duration() time.Duration {
368 return time.Duration(p.EndTime - p.StartTime)
369}
370
371func (p ProbeClusterResult) Bitrate() float64 {
372 duration := p.Duration().Seconds()

Callers 15

BitrateMethod · 0.95
MarshalLogObjectMethod · 0.95
DrainConnectionsMethod · 0.45
serveMethod · 0.45
DrainConnectionsMethod · 0.45
CreateUsernameMethod · 0.45
workerMethod · 0.45
workerMethod · 0.45
setICEStartedAtMethod · 0.45
TestRoomClosureFunction · 0.45
onSimulateScenarioMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestRoomClosureFunction · 0.36
WriteMethod · 0.36
observeSamplesFunction · 0.36