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.queuedUpdates = nil
|
||||||
p.updateLock.Unlock()
|
p.updateLock.Unlock()
|
||||||
|
|
||||||
if p.params.RequireMediaSectionWithJoinResponse {
|
if p.params.RequireMediaSectionWithJoinResponse && p.params.UseSinglePeerConnection {
|
||||||
p.sendMediaSectionsRequirement(audioSectionsCountWithJoinResponse, videoSectionsCountWithJoinResponse)
|
p.sendMediaSectionsRequirement(audioSectionsCountWithJoinResponse, videoSectionsCountWithJoinResponse)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user