setLocalLiveMixInnerCdnVideoFps method

Future<int> setLocalLiveMixInnerCdnVideoFps(
  1. RCRTCVideoFps fps
)

ZH

观众端设置订阅 cdn 流的帧率 @param fps 帧率 @return 接口调用状态码 0: 成功, 非0: 失败

EN

Set CDN stream frame rate for audience @param fps Frame rate @return Status code (0: success, non-zero: failure)

Implementation

Future<int> setLocalLiveMixInnerCdnVideoFps(RCRTCVideoFps fps) async {
  Map<String, dynamic> arguments = {'fps': fps.index};
  int code =
      await _channel.invokeMethod(
        'setLocalLiveMixInnerCdnVideoFps',
        arguments,
      ) ??
      -1;
  return code;
}