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:
cnderrauber
2026-09-02 15:07:43 +08:00
committed by GitHub
parent ee45c3f0b1
commit 61ec725c52
3 changed files with 221 additions and 9 deletions
+1 -1
View File
@@ -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
}