setRemoteRenderTargetFps abstract method

Future<void> setRemoteRenderTargetFps(
  1. int targetFps
)

Sets the maximum frame rate for remote video rendering.

  • targetFps Maximum rendering frame rate (fps). Supported values: 1, 7, 10, 15, 24, 30, 60. You should set this parameter to a rendering frame rate lower than the actual video frame rate; otherwise, the setting will 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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> setRemoteRenderTargetFps(int targetFps);