don't require media section for dual peerconnection mode (#4354)

This commit is contained in:
cnderrauber
2026-03-09 20:56:55 +08:00
committed by GitHub
parent e963953817
commit 95225ff2e1

View File

@@ -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)
}