isPushing method

Future<bool> isPushing()

获取是否正在推流

returns 是否正在推流 true:正在推流,false:未推流

Implementation

Future<bool> isPushing() async {
  String strV =
      await AlivcLivePusher.methodChannel.invokeMethod('isPushing', _wrap());
  int intV = int.parse(strV);
  return intV == 1 ? true : false;
}