Support VP9/AV1 simulcast (#4830)
Comes from #4718. Remove #2 of original PR as the simulcast SR looks good to me.
This commit is contained in:
@@ -948,7 +948,7 @@ func (r *ReceiverBase) forwardRTP(
|
||||
}
|
||||
|
||||
spatialLayer := layer
|
||||
if extPkt.Spatial >= 0 {
|
||||
if extPkt.Spatial >= 0 && !sfuutils.IsSimulcastMode(r.videoLayerMode) {
|
||||
// svc packet, take spatial layer info from packet
|
||||
spatialLayer = extPkt.Spatial
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user