setRemoteRenderTargetFps abstract method

Future<void> setRemoteRenderTargetFps(
  1. int targetFps
)

Sets the maximum frame rate for rendering remote video.

  • targetFps The capture frame rate (fps) of the local video. Sopported values are: 1, 7, 10, 15, 24, 30, 60. Set this parameter to a value lower than the actual video frame rate; otherwise, the settings do not take effect.

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> setRemoteRenderTargetFps(int targetFps);