Clear rids from default for layers not published. (#3721)
This commit is contained in:
@@ -1019,6 +1019,9 @@ func (p *ParticipantImpl) updateRidsFromSDP(offer *webrtc.SessionDescription) {
|
|||||||
for i := 0; i < n; i++ {
|
for i := 0; i < n; i++ {
|
||||||
pti.sdpRids[i] = rids[i]
|
pti.sdpRids[i] = rids[i]
|
||||||
}
|
}
|
||||||
|
for i := 0; i < len(pti.sdpRids); i++ {
|
||||||
|
pti.sdpRids[i] = ""
|
||||||
|
}
|
||||||
|
|
||||||
p.pubLogger.Debugw(
|
p.pubLogger.Debugw(
|
||||||
"pending track rids updated",
|
"pending track rids updated",
|
||||||
|
|||||||
Reference in New Issue
Block a user