getLivePushMode method

Future<AlivcLivePushMode> getLivePushMode()

获取直播SDK推流模式

returns 直播SDK推流模式 默认: AlivcLivePushMode.basic

Implementation

Future<AlivcLivePushMode> getLivePushMode() async {
  String strV = await _livePusherConfigMC.invokeMethod(
    'getLivePushMode',
    wrapArgs(),
  );
  int intV = int.parse(strV);
  return AlivcLivePushMode.values[intV];
}