Pure code movement (#1552)

This commit is contained in:
Raja Subramanian
2023-03-26 23:13:17 +05:30
committed by GitHub
parent afdae26972
commit f63962c2cc
17 changed files with 1450 additions and 1418 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ func (t *MediaTrackReceiver) SetLayerSsrc(mime string, rid string, ssrc uint32)
defer t.lock.Unlock()
layer := buffer.RidToSpatialLayer(rid, t.params.TrackInfo)
if layer == sfu.InvalidLayerSpatial {
if layer == buffer.InvalidLayerSpatial {
// non-simulcast case will not have `rid`
layer = 0
}