releaseAsync method
异步释放播放器
Implementation
Future<void> releaseAsync() async {
FlutterAliPlayerFactory.instanceMap.remove(playerId);
return FlutterAliPlayerFactory.methodChannel
.invokeMethod('releaseAsync', wrapWithPlayerId());
}
异步释放播放器
Future<void> releaseAsync() async {
FlutterAliPlayerFactory.instanceMap.remove(playerId);
return FlutterAliPlayerFactory.methodChannel
.invokeMethod('releaseAsync', wrapWithPlayerId());
}