MCPcopy Create free account
hub / github.com/livekit/livekit / String

Method String

pkg/sfu/streamallocator/streamallocator.go:70–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68)
69
70func (s streamAllocatorState) String() string {
71 switch s {
72 case streamAllocatorStateStable:
73 return "STABLE"
74 case streamAllocatorStateDeficient:
75 return "DEFICIENT"
76 default:
77 return fmt.Sprintf("UNKNOWN: %d", int(s))
78 }
79}
80
81// ---------------------------------------------------------------------------
82

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected