Support video layer mode from client and make most of the code mime aware (#3843)

This commit is contained in:
Raja Subramanian
2025-08-09 21:26:11 +05:30
committed by GitHub
parent f2da4444b4
commit 1b2289137d
21 changed files with 673 additions and 524 deletions
+1 -2
View File
@@ -92,12 +92,11 @@ func (r *RedReceiver) ForwardRTP(pkt *buffer.ExtPacket, spatialLayer int32) int
func (r *RedReceiver) ForwardRTCPSenderReport(
payloadType webrtc.PayloadType,
isSVC bool,
layer int32,
publisherSRData *livekit.RTCPSenderReportState,
) {
r.downTrackSpreader.Broadcast(func(dt TrackSender) {
_ = dt.HandleRTCPSenderReportData(payloadType, isSVC, layer, publisherSRData)
_ = dt.HandleRTCPSenderReportData(payloadType, layer, publisherSRData)
})
}