mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 19:43:01 +00:00
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:
1 parent
4d09e5b564
commit
5d636acffb
1 file changed
+4
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user