Remove duplicate SSRC get. (#3318)

The duplicate was not checking for `nil`. The SSRC is already loaded
with proper nil check before.
This commit is contained in:
Raja Subramanian
2025-01-08 22:50:34 +05:30
committed by GitHub
parent 4016e3dc5a
commit 0d9bad489c
@@ -400,8 +400,6 @@ func (s *StreamAllocator) OnREMB(downTrack *sfu.DownTrack, remb *rtcp.ReceiverEs
}
// try to lock to track which is sending this update
downTrackSSRC := track.DownTrack().SSRC()
downTrackSSRCRTX := track.DownTrack().SSRCRTX()
for _, ssrc := range remb.SSRCs {
if ssrc == 0 {
continue