Kurento / kurento

Kurento WebRTC Media Server
Apache License 2.0
304 stars 58 forks source link

Parametrized Composite Mixer #84

Closed ErikNae closed 2 weeks ago

ErikNae commented 4 weeks ago

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