Skip to content

Refactor RTP string comparisons to use string.Equals#1660

Merged
sipsorcery merged 1 commit into
sipsorcery-org:masterfrom
paulomorgado:strings-9
Jun 1, 2026
Merged

Refactor RTP string comparisons to use string.Equals#1660
sipsorcery merged 1 commit into
sipsorcery-org:masterfrom
paulomorgado:strings-9

Conversation

@paulomorgado

Copy link
Copy Markdown
Contributor

Replaced ToLower() with string.Equals and StringComparison.OrdinalIgnoreCase for all case-insensitive string comparisons, improving performance and code clarity. Updated TransportWideCCExtension, RTPSession, and AudioStream accordingly. Also improved string concatenation and logging practices.

Split of #1639

Replaced ToLower() with string.Equals and StringComparison.OrdinalIgnoreCase for all case-insensitive string comparisons, improving performance and code clarity. Updated TransportWideCCExtension, RTPSession, and AudioStream accordingly. Also improved string concatenation and logging practices.
@sipsorcery sipsorcery merged commit 46bf3c6 into sipsorcery-org:master Jun 1, 2026
6 checks passed
@paulomorgado paulomorgado deleted the strings-9 branch June 1, 2026 15:19
This was referenced Jun 5, 2026
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