Skip to content

Conversation

@orgads
Copy link
Contributor

@orgads orgads commented Jan 30, 2026

The SRTP params are printed once in rtpstream_set_srtp_*. After that, the file is closed and assigned null, so these calls are always no-op.

The SRTP params are printed once in rtpstream_set_srtp_*. After that, the
file is closed and assigned null, so these calls are always no-op.
@orgads
Copy link
Contributor Author

orgads commented Jan 30, 2026

@jeannotlanglois Please approve (or explain, if the mistake is elsewhere :))

@orgads orgads requested a review from lemenkov January 30, 2026 13:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request removes dead code related to SRTP parameter debugging. The removed function calls were no-ops because they attempted to print to debug files that had already been closed and set to null in earlier rtpstream_set_srtp_* functions.

Changes:

  • Removed 12 no-op function calls (6 pairs of printLocal/printRemote calls) from RTP echo functions
  • The print functions check for null file handles before writing, so these calls never produced output

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant