Skip to content

Disable the debug log print of audio / Video Frame as this is too tal…#1254

Merged
Trouffman merged 1 commit into
masterfrom
no-debug-frame
Apr 24, 2025
Merged

Disable the debug log print of audio / Video Frame as this is too tal…#1254
Trouffman merged 1 commit into
masterfrom
no-debug-frame

Conversation

@Trouffman

@Trouffman Trouffman commented Apr 24, 2025

Copy link
Copy Markdown
Collaborator

Disable the debug log print of audio / Video Frame as this is too talkative and slow performances.

Initial reason to add this to master might have been overlooked. (by me...)
This create too much noise in the log file and makes it unsuable.
image

The possible implementation by @BitRate27 from #1185 might be more suitable on the long-run.

This PR only aim to comment out the log entry, it is there for dev-debug purpose but should not be enable in production/release.

Comment & Arguments are welcome.

@Trouffman
Trouffman requested review from BitRate27 and Copilot April 24, 2025 02:48
@Trouffman Trouffman added this to the 6.1.0 milestone Apr 24, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR disables the debug log prints in the NDI source thread to reduce excessive logging and improve performance in production.

  • Commented out debug logging for new audio/video frames (both when framesync is ON and OFF).
  • Ensures that only development-level debugging remains accessible while production logs remain cleaner.

…kative.

This logging level was making the log unusable for release.
@Trouffman
Trouffman merged commit 6a0a9c5 into master Apr 24, 2025
@Trouffman
Trouffman deleted the no-debug-frame branch April 24, 2025 12:23
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