Skip to content
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

Please make ProtectionProfile methods public #258

Open
sirzooro opened this issue Feb 18, 2024 · 1 comment · May be fixed by #260
Open

Please make ProtectionProfile methods public #258

sirzooro opened this issue Feb 18, 2024 · 1 comment · May be fixed by #260

Comments

@sirzooro
Copy link

Summary

Please make ProtectionProfile methods public

Motivation

I am implementing SRTP support for my RTSP Server. I need to send key management parameters using MIKEY protocol to RTSP client. They include lengths of key, salt, etc.

Describe alternatives you've considered

I added constants for these values to my code. Calling ProtectionProfile methods to get these values would result in cleaner code.

@Sean-Der
Copy link
Member

That sounds great! Mind opening a PR?

@sirzooro sirzooro linked a pull request Feb 23, 2024 that will close this issue
Sean-Der pushed a commit to sirzooro/srtp that referenced this issue Feb 25, 2024
This allows to get values like key length and use them with key
management protocols like MIKEY, instead of creating own constants
for this.

Resolves pion#258
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants