MCPcopy
hub / github.com/livekit/livekit / MessageChannel

Struct MessageChannel

pkg/routing/messagechannel.go:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24const DefaultMessageChannelSize = 200
25
26type MessageChannel struct {
27 connectionID livekit.ConnectionID
28 msgChan chan proto.Message
29 onClose func()
30 isClosed bool
31 lock sync.RWMutex
32}
33
34func NewDefaultMessageChannel(connectionID livekit.ConnectionID) *MessageChannel {
35 return NewMessageChannel(connectionID, DefaultMessageChannelSize)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected