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 authored and GitHub committed 2025-07-01 08:20:20 +05:30
1 parent 4d09e5b564
commit 5d636acffb
1 file changed
+4
+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
}