re-assign node for room if existing node for room is no longer available

This commit is contained in:
David Zhao
2021-02-20 21:09:04 -08:00
parent 1ce27be1b3
commit a010b618af
9 changed files with 106 additions and 49 deletions
+4
View File
@@ -80,6 +80,10 @@ func NewLivekitServer(conf *config.Config,
return
}
func (s *LivekitServer) Node() *livekit.Node {
return s.currentNode
}
func (s *LivekitServer) IsRunning() bool {
return s.running.Get()
}