-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
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
ReplayDetector is shared among multiple SSRCs #60
Comments
It has been a while since I have worked on this package, but |
That's true. Thanks! |
One thing I do think we should do is get rid of all the stream stuff in this package, it was a bad design on my part :( I would rather see demuxing in |
That sounds better. |
srtp.Context
is shared among multiple SSRCs, but roll over counter and replay detector must not be shared.Shared ROC causes decryption failure when the difference of actual ROCs is more than 1.
(Packet rate of each stream can be different.)
And, replay detector causes false positive detection.
ref: pion/webrtc#1095 (comment)
The text was updated successfully, but these errors were encountered: