From 7a3e446a65e0ffea3591056a3e85e77367e0781b Mon Sep 17 00:00:00 2001 From: cnderrauber Date: Fri, 15 Apr 2022 09:36:24 +0800 Subject: [PATCH] run StartSession in a goroutine (#614) --- pkg/routing/redisrouter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/routing/redisrouter.go b/pkg/routing/redisrouter.go index 7c8038bd..8a5d8f71 100644 --- a/pkg/routing/redisrouter.go +++ b/pkg/routing/redisrouter.go @@ -266,7 +266,7 @@ func (r *RedisRouter) startParticipantRTC(ss *livekit.StartSession, participantK reqChan := r.getOrCreateMessageChannel(r.requestChannels, string(participantKey)) resSink := NewSignalNodeSink(r.rc, livekit.NodeID(signalNode), livekit.ConnectionID(ss.ConnectionId)) - r.onNewParticipant( + go r.onNewParticipant( r.ctx, livekit.RoomName(ss.RoomName), pi,