getPlayConfig method

Future<AVPConfig> getPlayConfig()

获取播放器设置 新版本增加,逐步替代getConfig

Implementation

Future<AVPConfig> getPlayConfig() async {
  Map map = await FlutterAliPlayerFactory.methodChannel
      .invokeMethod("getPlayConfig", wrapWithPlayerId());
  return AVPConfig.convertAt(map);
}