refactored config and room setup

This commit is contained in:
David Zhao
2020-10-15 00:04:16 -07:00
parent 32af882b99
commit 40c7d902d8
10 changed files with 386 additions and 71 deletions
+1 -1
View File
@@ -19,6 +19,6 @@ func NewRoomService(conf *config.Config, localNode *node.Node) (livekit.RoomServ
if conf.MultiNode {
return nil, fmt.Errorf("multinode is not supported")
} else {
return NewSimpleRoomService(localNode)
return NewSimpleRoomService(conf, localNode)
}
}