updateScreenCaptureParameters abstract method

Future<void> updateScreenCaptureParameters(
  1. ScreenCaptureParameters captureParams
)

Updates the screen capturing parameters.

This method is for Windows and macOS only. Call this method after starting screen sharing or window sharing.

  • captureParams The screen sharing encoding parameters. The default video resolution is 1920 × 1080, that is, 2,073,600 pixels. Agora uses the value of this parameter to calculate the charges. See ScreenCaptureParameters.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> updateScreenCaptureParameters(
    ScreenCaptureParameters captureParams);