Clear rids from default for layers not published. (#3721)

This commit is contained in:
Raja Subramanian
2025-06-12 08:59:16 -07:00
committed by GitHub
parent ce07740e11
commit 8f6c3a9b4e
+3
View File
@@ -1019,6 +1019,9 @@ 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++ {
pti.sdpRids[i] = ""
}
p.pubLogger.Debugw(
"pending track rids updated",