We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to use jitter buffer interceptor.
I expect to receive RTP packets as usual, but in correct order.
I receive invalid RTP packets. The payload length is more than expected. The payload is filled by zeroes.
The interceptor tries to unmarshal the whole buffer and doesn't respect the actual packet length.
interceptor/pkg/jitterbuffer/receiver_interceptor.go
Line 77 in 142f17f
It looks like we should replace packet.Unmarshal(buf) to packet.Unmarshal(buf[:n])
packet.Unmarshal(buf)
packet.Unmarshal(buf[:n])
The text was updated successfully, but these errors were encountered:
thatsnotright
Successfully merging a pull request may close this issue.
Your environment.
What did you do?
I'm trying to use jitter buffer interceptor.
What did you expect?
I expect to receive RTP packets as usual, but in correct order.
What happened?
I receive invalid RTP packets. The payload length is more than expected. The payload is filled by zeroes.
The reason
The interceptor tries to unmarshal the whole buffer and doesn't respect the actual packet length.
interceptor/pkg/jitterbuffer/receiver_interceptor.go
Line 77 in 142f17f
It looks like we should replace
packet.Unmarshal(buf)
topacket.Unmarshal(buf[:n])
The text was updated successfully, but these errors were encountered: