Remove method not needed from REDTransformer. (#4219)

Also assert that the implementation aligns with the interface.
This commit is contained in:
Raja Subramanian
2026-01-05 11:53:24 +05:30
committed by GitHub
parent f0080f35b2
commit b649c2fe95
4 changed files with 12 additions and 9 deletions
+1 -2
View File
@@ -163,7 +163,6 @@ type REDTransformer interface {
publisherSRData *livekit.RTCPSenderReportState,
)
GetDownTracks() []TrackSender
HasDownTracks() bool
ResyncDownTracks()
OnStreamRestart()
CanClose() bool
@@ -904,7 +903,7 @@ func (r *ReceiverBase) forwardRTP(
"numPacketsDropped", numPacketsDropped,
"forwarderGeneration", forwarderGeneration,
"forwardersGeneration", r.forwardersGeneration.Load(),
"errror", err,
"error", err,
)
wg.Done()
}()