getAudioOnly method

Future<bool> getAudioOnly()

获取是否纯音频推流

returns 是否纯音频推流 默认: false

Implementation

Future<bool> getAudioOnly() async {
  String strV = await _livePusherConfigMC.invokeMethod(
    'getAudioOnly',
    wrapArgs(),
  );
  int intV = int.parse(strV);
  return intV == 1 ? true : false;
}