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. See ScreenCaptureParameters. The video properties of the screen sharing stream only need to be set through this parameter, and are unrelated to setVideoEncoderConfiguration.

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);