Skip to content

Conversation

@paulpv
Copy link
Member

@paulpv paulpv commented Aug 15, 2024

source: avoid config comparisons in receiver loop == improve performance

The receiver loop no longer does heavy config change comparisons.
Any config change is now determined in the main UI thread
that then sets a bool reset_ndi_receiver for the receiver loop
to quickly reset itself.

Also resetting if hw_accel_enabled is changed.

PTZ and Tally are still calculated in the receiver loop, but only if they are enabled.

paulpv added 7 commits August 14, 2024 20:34
The receiver loop no longer does heavy config change comparisons.
Any config change is now determined in the main UI thread
that then sets a `bool reset_ndi_receiver` for the receiver loop
to quickly reset itself.

Also resetting if hw_accel_enabled is changed.

PTZ and Tally are still calculated in the receiver loop, but only if they are enabled
@paulpv paulpv self-assigned this Aug 15, 2024
@paulpv paulpv changed the title 6.0.0 sources tweaks 6.0.0 sources performance improvement tweaks Aug 15, 2024
@paulpv paulpv force-pushed the 6.0.0_sources_tweaks branch from a8bb7be to ac3b6db Compare August 15, 2024 12:26
@paulpv paulpv merged commit 591a58e into 6.0.0_actual Aug 15, 2024
@paulpv paulpv deleted the 6.0.0_sources_tweaks branch August 15, 2024 19:55
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