create method

  1. @override
Future<void> create()
override

创建直播时移播放器

Implementation

@override

/// 创建直播时移播放器
Future<void> create() {
  return FlutterAliPlayerFactory.methodChannel.invokeMethod('createAliPlayer',
      wrapWithPlayerId(arg: PlayerType.PlayerType_LiveShift));
}