getVideoEncoderMode method
获取视频编码模式
returns
视频编码模式 默认: AlivcLivePushAudioEncoderMode.hard
Implementation
Future<AlivcLivePushVideoEncoderMode> getVideoEncoderMode() async {
String strV = await _livePusherConfigMC.invokeMethod(
'getVideoEncoderMode',
wrapArgs(),
);
int intV = int.parse(strV);
return AlivcLivePushVideoEncoderMode.values[intV];
}