-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Thank you for your contribution to the Kurento project. Please provide enough information so that others can review your Pull Request. For more information, see the Contribution Guidelines: https://github.com/Kurento/kurento/blob/main/.github/CONTRIBUTING.md --> ## 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 <!-- What types of changes does your code introduce? Put an 'x' in all the boxes that apply: --> - [ ] 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 <!-- Explain which one --> ## Checklist <!-- Go over all the following points, and put an 'x' in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [X] I have read the [Contribution Guidelines](https://github.com/Kurento/kurento/blob/main/.github/CONTRIBUTING.md) - [X] I have added an explanation of what the changes do and why they should be included - [X] I have written new tests for the changes, as applicable, and have successfully run them locally
- Loading branch information
Showing
7 changed files
with
347 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
width=10 | ||
height=10 | ||
framerate=10 | ||
; Default resolution and framerate |
Oops, something went wrong.