mirror of
https://github.com/livekit/livekit.git
synced 2026-03-29 09:19:53 +00:00
don't require media section for dual peerconnection mode (#4354)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user