setRemoteRenderTargetFps abstract method
设置视频在远端渲染的最大帧率。
targetFps最大渲染帧率 (fps)。支持的参数值为:1、7、10、15、24、30、60。 请将此参数设置为低于视频实际帧率的渲染帧率,否则设置将不会生效。
Returns 方法成功调用时,无返回值;方法调用失败时,会抛出 AgoraRtcException 异常,你需要捕获异常并进行处理。详见错误码了解详情和解决建议。
Implementation
Future<void> setRemoteRenderTargetFps(int targetFps);