setFps method

Future<void> setFps(
  1. AlivcLivePushFPS fps
)

设置视频采集帧率

fps 视频采集帧率

Frames per Second

Implementation

Future<void> setFps(AlivcLivePushFPS fps) async {
  int fpsIntV = FPSData.convertInterfaceValue(fps.index);
  return _livePusherConfigMC.invokeMethod(
    'setFps',
    wrapArgs(arg: fpsIntV.toString()),
  );
}