Created
January 5, 2021 07:32
-
-
Save Sean-Der/23ec80b959db43efad9243b8a4ba93a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkg/nack/responder_interceptor.go b/pkg/nack/responder_interceptor.go | |
index f4201ab..a4f8106 100644 | |
--- a/pkg/nack/responder_interceptor.go | |
+++ b/pkg/nack/responder_interceptor.go | |
@@ -45,6 +45,7 @@ func NewResponderInterceptor(opts ...ResponderOption) (*ResponderInterceptor, er | |
// BindRTCPReader lets you modify any incoming RTCP packets. It is called once per sender/receiver, however this might | |
// change in the future. The returned method will be called once per packet batch. | |
func (n *ResponderInterceptor) BindRTCPReader(reader interceptor.RTCPReader) interceptor.RTCPReader { | |
+ panic("test") | |
return interceptor.RTCPReaderFunc(func(b []byte, a interceptor.Attributes) (int, interceptor.Attributes, error) { | |
i, attr, err := reader.Read(b, a) | |
if err != nil { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment