(state livekit.NodeState)
| 123 | } |
| 124 | |
| 125 | func (l *LocalNodeImpl) SetState(state livekit.NodeState) { |
| 126 | l.lock.Lock() |
| 127 | defer l.lock.Unlock() |
| 128 | |
| 129 | l.node.State = state |
| 130 | } |
| 131 | |
| 132 | // for testing only |
| 133 | func (l *LocalNodeImpl) SetStats(stats *livekit.NodeStats) { |
nothing calls this directly
no outgoing calls
no test coverage detected