Limit taking rids from SDP only in WHIP path. (#3771)

Some clients are not sending q;h;f; ordering which affects layer/quality
mapping.
This commit is contained in:
Raja Subramanian
2025-07-01 08:20:20 +05:30
committed by GitHub
parent 4d09e5b564
commit 5d636acffb
+4
View File
@@ -993,6 +993,10 @@ func (p *ParticipantImpl) synthesizeAddTrackRequests(offer webrtc.SessionDescrip
}
func (p *ParticipantImpl) updateRidsFromSDP(offer *webrtc.SessionDescription) {
if !p.params.UseOneShotSignallingMode {
return
}
if offer == nil {
return
}