Use random NodeID instead of MAC based (#2029)
Makes it possible to run multiple instances of livekit-server locally. Also enables Signal Relay by default as default signal proxy.
This commit is contained in:
+1
-4
@@ -27,10 +27,7 @@ import (
|
||||
type LocalNode *livekit.Node
|
||||
|
||||
func NewLocalNode(conf *config.Config) (LocalNode, error) {
|
||||
nodeID, err := utils.LocalNodeID()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
nodeID := utils.NewGuid(utils.NodePrefix)
|
||||
if conf.RTC.NodeIP == "" {
|
||||
return nil, ErrIPNotSet
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user