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

Support SIP media encryption #499

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Support SIP media encryption #499

merged 1 commit into from
Jan 15, 2025

Conversation

dennwc
Copy link
Contributor

@dennwc dennwc commented Jan 14, 2025

Support SIP media encryption and allow overriding CreateSIPParticipant options with flags (and creating it without a JSON config file).

@dennwc dennwc requested a review from rektdeckard January 14, 2025 15:15
@dennwc dennwc self-assigned this Jan 14, 2025
Copy link
Contributor

@rektdeckard rektdeckard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG, minor comments!

Comment on lines +322 to +337
strings.TrimPrefix(item.MediaEncryption.String(), "SIP_MEDIA_ENCRYPT_"),
printHeaderMaps(item.Headers, item.HeadersToAttributes),
Copy link
Contributor

@rektdeckard rektdeckard Jan 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDK how big this data is but is it readable in this format inside a tiny table cell?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the format for these maps. They will now print each k=v on a separate line.

@dennwc dennwc merged commit 9518af0 into main Jan 15, 2025
3 checks passed
@dennwc dennwc deleted the sip-srtp branch January 15, 2025 16:06
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 this pull request may close these issues.

2 participants