MCPcopy
hub / github.com/livekit/livekit / NewNullMessageSource

Function NewNullMessageSource

pkg/routing/interfaces.go:96–101  ·  view source on GitHub ↗
(connID livekit.ConnectionID)

Source from the content-addressed store, hash-verified

94}
95
96func NewNullMessageSource(connID livekit.ConnectionID) *NullMessageSource {
97 return &NullMessageSource{
98 connID: connID,
99 msgChan: make(chan proto.Message),
100 }
101}
102
103func (n *NullMessageSource) ReadChan() <-chan proto.Message {
104 return n.msgChan

Callers 1

CreateMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected