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

Method String

pkg/sfu/streamallocator/streamstateupdate.go:33–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31)
32
33func (s StreamState) String() string {
34 switch s {
35 case StreamStateInactive:
36 return "INACTIVE"
37 case StreamStateActive:
38 return "ACTIVE"
39 case StreamStatePaused:
40 return "PAUSED"
41 default:
42 return fmt.Sprintf("UNKNOWN: %d", int(s))
43 }
44}
45
46// ------------------------------------------------
47

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected