setQuality method

dynamic setQuality(
  1. dynamic quality
)

Sets the video quality for the participant’s video stream.

  • This method allows you to control the quality of the participant’s outgoing video stream, which can help optimize bandwidth usage and performance.

Parameters

  • quality: The desired video quality level. Possible values:
    • "low"
    • "med"
    • "high"

Returns

  • void

Example

// Set participant video quality to high
participant.setQuality('high');

Implementation

setQuality(quality) => _setQuality(quality);