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
+2
View File
@@ -29,6 +29,8 @@ import (
"github.com/livekit/protocol/logger"
)
var _ REDTransformer = (*RedPrimaryReceiver)(nil)
var (
ErrIncompleteRedHeader = errors.New("incomplete red block header")
ErrIncompleteRedBlock = errors.New("incomplete red block payload")