Support video layer mode from client and make most of the code mime aware (#3843)
This commit is contained in:
@@ -97,12 +97,11 @@ func (r *RedPrimaryReceiver) ForwardRTP(pkt *buffer.ExtPacket, spatialLayer int3
|
||||
|
||||
func (r *RedPrimaryReceiver) 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)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user