mirror of
https://github.com/livekit/livekit.git
synced 2026-10-24 04:13:11 +00:00
fix: avoid deadlocks when participant closing, adapt to ion-sfu changes
This commit is contained in:
1 parent
db7d5fff52
commit
b10d903d3e
2 files changed
+30
-27
No files matched your search
@@ -135,6 +135,7 @@ func createSingleNodeServer() *service.LivekitServer {
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("could not create config: %v", err))
|
||||
}
|
||||
conf.Development = true
|
||||
|
||||
currentNode, err := routing.NewLocalNode(conf)
|
||||
currentNode.Id = utils.NewGuid(nodeId1)
|
||||
@@ -165,6 +166,7 @@ func createMultiNodeServer(nodeId string, port uint32) *service.LivekitServer {
|
||||
conf.RTC.UDPPort = port + 1
|
||||
conf.RTC.TCPPort = port + 2
|
||||
conf.Redis.Address = "localhost:6379"
|
||||
conf.Development = true
|
||||
|
||||
currentNode, err := routing.NewLocalNode(conf)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user