getVideoEncoderMode method

Future<AlivcLivePushVideoEncoderMode> getVideoEncoderMode()

获取视频编码模式

returns 视频编码模式 默认: AlivcLivePushAudioEncoderMode.hard

Implementation

Future<AlivcLivePushVideoEncoderMode> getVideoEncoderMode() async {
  String strV = await AlivcLivePusherConfig.methodChannel
      .invokeMethod('getVideoEncoderMode', _wrap());
  int intV = int.parse(strV);
  return AlivcLivePushVideoEncoderMode.values[intV];
}