From 95225ff2e192cec0551ba2d7b0366dcd14cea1a7 Mon Sep 17 00:00:00 2001 From: cnderrauber Date: Mon, 9 Mar 2026 20:56:55 +0800 Subject: [PATCH] don't require media section for dual peerconnection mode (#4354) --- pkg/rtc/participant_signal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rtc/participant_signal.go b/pkg/rtc/participant_signal.go index 6df8cfcdc..215f0515d 100644 --- a/pkg/rtc/participant_signal.go +++ b/pkg/rtc/participant_signal.go @@ -67,7 +67,7 @@ func (p *ParticipantImpl) SendJoinResponse(joinResponse *livekit.JoinResponse) e p.queuedUpdates = nil p.updateLock.Unlock() - if p.params.RequireMediaSectionWithJoinResponse { + if p.params.RequireMediaSectionWithJoinResponse && p.params.UseSinglePeerConnection { p.sendMediaSectionsRequirement(audioSectionsCountWithJoinResponse, videoSectionsCountWithJoinResponse) }