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

Method SetNodeID

pkg/routing/node.go:90–95  ·  view source on GitHub ↗

for testing only

(nodeID livekit.NodeID)

Source from the content-addressed store, hash-verified

88
89// for testing only
90func (l *LocalNodeImpl) SetNodeID(nodeID livekit.NodeID) {
91 l.lock.Lock()
92 defer l.lock.Unlock()
93
94 l.node.Id = string(nodeID)
95}
96
97func (l *LocalNodeImpl) NodeID() livekit.NodeID {
98 l.lock.RLock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected