updateRoomParametersClient

Updates the room configuration parameters based on provided options.

The updateRoomParametersClient function allows for the flexible and dynamic updating of room parameters such as video, audio, and screen sharing configurations. It takes in an UpdateRoomParametersClientOptions object that contains the room parameters, along with multiple update functions used to apply changes to these parameters.

Key configurable parameters include:

  • Video Encoding Parameters: Bitrate, resolution, and scalability settings for video encodings.

  • Audio and Video Settings: Controls for media type (audio-only or video) and individual codec settings.

  • Recording Parameters: Settings for audio and video recording limitations, support, and orientation.

  • Screen Sharing and Frame Rate: Adjustments for screen-sharing constraints and display frame rates.

The function will update each parameter according to the current room configuration and level, ensuring appropriate values are applied for different event types and device constraints.