getEnableAutoBitrate method

Future<bool> getEnableAutoBitrate()

获取码率自适应

returns 是否打开码率自适应 默认: true

Implementation

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