The previous implementation had fixed values for width, height, and framerate within the compositor's C class, which limited flexibility and required code changes for adjustment.
What is the new behavior provided by this change?
With this change, the width, height, and framerate values for the compositor are now optionally parameterized. When creating a Composite in Kurento, these values can be set directly; if a value of 0 is passed, the compositor defaults to a configuration stored in Composite.conf.ini (located at kurento/server/module-elements/src/server/config/).
How has this been tested?
This feature was tested using automated unit tests in the Kurento testing framework. The main tests, composite_setup and composite_param_setup, validated media flow within a composite setup both with parameters and without. They covered various configurations (including width, height, and framerate settings) and verified that both audio and video media were flowing as expected. The test suite ran successfully, with 100% of tests passing.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature / enhancement (non-breaking change which improves the project)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] My change requires a change to the documentation
[ ] My change requires a change in other repository
What is the current behavior you want to change?
The previous implementation had fixed values for width, height, and framerate within the compositor's C class, which limited flexibility and required code changes for adjustment.
What is the new behavior provided by this change?
With this change, the width, height, and framerate values for the compositor are now optionally parameterized. When creating a Composite in Kurento, these values can be set directly; if a value of 0 is passed, the compositor defaults to a configuration stored in Composite.conf.ini (located at kurento/server/module-elements/src/server/config/).
How has this been tested?
This feature was tested using automated unit tests in the Kurento testing framework. The main tests, composite_setup and composite_param_setup, validated media flow within a composite setup both with parameters and without. They covered various configurations (including width, height, and framerate settings) and verified that both audio and video media were flowing as expected. The test suite ran successfully, with 100% of tests passing.
Types of changes
Checklist