mirror of
https://github.com/livekit/livekit.git
synced 2026-05-24 19:05:36 +00:00
Fix bug with SDP rid, clear only overflow. (#3723)
This commit is contained in:
@@ -1019,7 +1019,7 @@ func (p *ParticipantImpl) updateRidsFromSDP(offer *webrtc.SessionDescription) {
|
||||
for i := 0; i < n; i++ {
|
||||
pti.sdpRids[i] = rids[i]
|
||||
}
|
||||
for i := 0; i < len(pti.sdpRids); i++ {
|
||||
for i := n; i < len(pti.sdpRids); i++ {
|
||||
pti.sdpRids[i] = ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user