Coder Social home page Coder Social logo

zezo357 / flutter_meedu_videoplayer Goto Github PK

View Code? Open in Web Editor NEW
127.0 4.0 63.0 10.43 MB

Cross-Platform Video Player for flutter

Home Page: https://abdelaziz-mahdy.github.io/flutter_meedu_videoplayer/

License: MIT License

Swift 1.06% Objective-C 0.01% Dart 78.88% HTML 0.84% CMake 6.82% C++ 9.30% C 0.82% Batchfile 0.04% Ruby 0.89% Java 1.34%

flutter_meedu_videoplayer's Introduction

flutter_meedu_videoplayer

Buy Me A Coffee Buy Me a Coffee at ko-fi.com

Cross-Platform Video Player

We have implemented a cross-platform video player, which provides a seamless video playback experience.

👋 👉 Complete documentation here

meedu_player meedu_player
meedu_player
Feature iOS Android Windows Linux macOS Web
Videos from Network ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Videos from Assets ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Videos from Local Files ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Looping ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
AutoPlay ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Swipe to Control Volume ✔️ ✔️ Keyboard Arrows Keyboard Arrows Keyboard Arrows Keyboard Arrows
Swipe to Seek ✔️ ✔️ Keyboard Arrows Keyboard Arrows Keyboard Arrows Keyboard Arrows
FullScreen ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Launch Player in FullScreen ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Playback Speed ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Fast Forward/Rewind ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
SRT Subtitles ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Customization Partially Partially Partially Partially Partially Partially
Picture in Picture (PIP) Not Implemented (Help Wanted) ✔️ ✔️ Implemented (Not tested) Implemented (Crashes, waiting for window_manager release, fixed in GitHub) Not Implemented

Video Player Controls

Mobile Controls

  • Swipe horizontally to seek forward or backward in the video. (seekSwipes)
  • Swipe vertically on the right side of the screen to control the video volume. (volumeSwipes)
  • Swipe vertically on the left side of the screen to control the video brightness. (brightnessSwipes)
  • Double-tap on the sides of the screen to seek forward or backward in the video. (doubleTapToSeek)
  • Long press on the screen to speed up the video, and the video slows down when the long press is released. (onLongPressSpeedUp)

Desktop Controls

  • One-click with the mouse to toggle play and pause. (desktopTapToPlayAndPause)
  • Double-click with the mouse to toggle full-screen mode. (desktopDoubleTapToFullScreen)
  • Use the keyboard up and down arrows to increase or decrease the video volume. (volumeArrows)
  • Use the keyboard right and left arrows to seek forward or backward in the video. (seekArrows)
  • Press the Escape key to close full-screen mode. (escapeKeyCloseFullScreen)
  • Press the NumPad Decimal key (.) to toggle the video fit. (numPadDecimalKeyToggleFit)
  • Press the Enter key to open full-screen mode. (enterKeyOpensFullScreen)
  • Press the Space key to toggle between playing and pausing the video. (spaceKeyTogglePlay)

Initialize

void main() {
  initMeeduPlayer();
  runApp(MyApp());
}

Android (replace original video_player with fvp one)

  1. Just add this package and set androidUseFVP to true in initMeeduPlayer

iOS (replace original video_player with fvp one)

  1. Just add this package in case you set iosUseFVP to true in initMeeduPlayer

hls on web

Add to pubspec.yaml

  video_player_web_hls: ^1.0.0+3

Add

<script
  src="https://cdn.jsdelivr.net/npm/hls.js@latest"
  type="application/javascript"
></script>

in index.html above

<script src="main.dart.js" type="application/javascript"></script>

or above

<script src="flutter.js" defer></script>

flutter_meedu_videoplayer's People

Contributors

0franky avatar abdelaziz-mahdy avatar andrezanna avatar giriss avatar joaojsrbr avatar mobisofts avatar mohamed-etman avatar nikitatg avatar sidhu-patil avatar sommye-ctr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flutter_meedu_videoplayer's Issues

Drag volume control

Drag volume control is shown only on landscape mode.
Can this be shown on on portrait too?

How to disable this drag volume functionality completely?

Size

unable to fit the size of the video. if we are using grdiview

Video captions not displaying despite correct setup

Hello, I have a problem with my video player. The video works fine, but the captions are not displaying. I've checked the documentation, but it's hard to find any information about captions. Here is a part of the code I've written:
` _init() async {
final result = await FilePicker.platform.pickFiles(
type: FileType.custom,
allowedExtensions: ['mp4', 'srt'],
allowMultiple: true,
);

if (result != null) {
  File? videoFile;
  File? srtFile;

  for (var file in result.files) {
    if (file.extension == 'mp4') {
      videoFile = File(file.path!);
    } else if (file.extension == 'srt') {
      srtFile = File(file.path!);
    }
  }

  if (videoFile != null) {
    Future<ClosedCaptionFile>? subRipCaptionFileFuture;
    if (srtFile != null) {
      subRipCaptionFileFuture = _loadSubRipCaptionFile(srtFile);
    }

    _meeduPlayerController.setDataSource(
      DataSource(
        type: DataSourceType.file,
        file: videoFile,
        closedCaptionFile: subRipCaptionFileFuture,
      ),
      autoplay: true,
    );
  }
}

}

Future _loadSubRipCaptionFile(File srtFile) async {
final srtContent = await srtFile.readAsString();
return SubRipCaptionFile(srtContent);
}
`
I would appreciate any help or guidance on how to display captions in the video player. Thanks in advance!

Unable to compile after flutter upgrade (v3.10.0)

Hi @zezo357

Yesterday I upgraded my flutter version to 3.10.0.

I was trying to lunch your example code but I'm giving this errors:

Launching lib\main.dart on Windows in debug mode... main.dart:1 /C:/Users/-/AppData/Local/Pub/Cache/hosted/pub.dev/helpers-1.2.0/lib/helpers/misc.dart(127,7): error GBF4691A2: No named parameter with the name 'window'. [D:\Users\-\Desktop\flutter_meedu_videoplayer\package\example\build\windows\flutter\flutter_assemble.vcxproj] /C:/Users/-/AppData/Local/Pub/Cache/hosted/pub.dev/helpers-1.2.0/lib/helpers/misc_build/build_color.dart(33,42): error GD65BB2B6: The getter 'accentColor' isn't defined for the class 'ThemeData'. [D:\Users\-\Desktop\flutter_meedu_videoplayer\package\example\build\windows\flutter\flutter_assemble.vcxproj] /C:/Users/-/AppData/Local/Pub/Cache/hosted/pub.dev/helpers-1.2.0/lib/helpers/misc_build/build_color.dart(109,42): error GD65BB2B6: The getter 'buttonColor' isn't defined for the class 'ThemeData'. [D:\Users\-\Desktop\flutter_meedu_videoplayer\package\example\build\windows\flutter\flutter_assemble.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: la compilazione personalizzata per 'D:\Users\-\Desktop\flutter_meedu_videoplayer\package\example\build\windows\CMakeFiles\205649b68d02cc4897ce61264a7c9555\flutter_windows.dll.rule;D:\Users\-\Desktop\flutter_meedu_videoplayer\package\example\build\windows\CMakeFiles\808581536beb0a9b893da9de0aa8029b\flutter_assemble.rule' � stata terminata. Codice: 1. [D:\Users\-\Desktop\flutter_meedu_videoplayer\package\example\build\windows\flutter\flutter_assemble.vcxproj] Exception: Build process failed. Exited (sigterm)

This happens both on Windows and Linux.

This is my flutter doctor:
`Doctor summary (to see all details, run flutter doctor -v):

[√] Flutter (Channel stable, 3.10.0, on Microsoft Windows [Versione 10.0.22621.1702], locale it-IT)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2019 16.11.19)
[√] Android Studio (version 2021.1)
[√] VS Code (version 1.78.2)
[√] Connected device (3 available)
[√] Network resources

• No issues found!`

Can you help me?

abort() has been callled

hi , sorry to get back again with a new issue .. the problem this time when i create a project and add the package to it and run on windows it shows an error .. i have tried multiple solutions .. clear cache .. change project .. change projects location .. clear cache of all flutter packages ..

and even i upgraded the flutter version to the latest ..

it says Debug Error

abort() has been called

image

flutter_meedu_videoplayer video control pannel

In the control panel shown in the flutter_meedu_videoplayer library, I want to add a playback progress bar, back, forward, volume control, and other icons on the control panel to adjust the position and add other functions, but it doesn't seem to be that part. Can I create my own control panel using flutter's stack widget without using your control panel?

Implementing Touch Lock Feature for the Flutter Meedu Video Player

I'm currently working on a project where I'm using your flutter_meedu_videoplayer package, and I've found it to be incredibly useful so far.

However, I've encountered a challenge. I'm trying to implement a touch lock feature to prevent unintended screen touches during video playback, but I couldn't find any method like 'controller.disable' in the package that could help me achieve this.

Could you provide me with some guidance on how I might implement such a feature? Any help or advice would be greatly appreciated.

Thank you so much for your work on the flutter_meedu_videoplayer package - it's been a great asset to my project.

MacOS UnimplementedError: init() has not been implemented

Getting: MacOS UnimplementedError: init() has not been implemented.
Please let me know if I missed something.

pubspec.yaml:
flutter_meedu_videoplayer: ^4.2.3

This is how I used it:

import 'package:flutter/material.dart';
import 'package:flutter_meedu_videoplayer/meedu_player.dart';

class HomeScreen extends StatefulWidget {
  const HomeScreen({Key? key}) : super(key: key);

  @override
  State<HomeScreen> createState() => _HomeScreenState();
}

class _HomeScreenState extends State<HomeScreen> {
  final _meeduPlayerController = MeeduPlayerController();

  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance!.addPostFrameCallback((_) {
      _meeduPlayerController.setDataSource(
        DataSource(
          type: DataSourceType.network,
          source:
              "https://www.radiantmediaplayer.com/media/big-buck-bunny-360p.mp4",
        ),
        autoplay: true,
      );
    });
  }

  @override
  void dispose() {
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: MeeduVideoPlayer(
        controller: _meeduPlayerController,
      ));
  }
}

Here is the error:

flutter: #0      VideoPlayerPlatform.init (package:video_player_platform_interface/video_player_platform_interface.dart:43:5)
#1      _videoPlayerPlatform (package:video_player/video_player.dart:28:21)
#2      VideoPlayerController.initialize (package:video_player/video_player.dart:404:25)
#3      MeeduPlayerController.setDataSource (package:flutter_meedu_videoplayer/src/controller.dart:449:37)
#4      _HomeScreenState.initState.<anonymous closure> (package:snackboard/screens/home_screen.dart:37:30)
#5      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#6      SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1227:9)
#7      SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:942:7)
#8      Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
#9      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#10     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#11     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)

Here is an image of what I get:
Screenshot 2023-05-02 at 11 36 31 AM

Flutter doctor -v

[✓] Flutter (Channel stable, 3.7.12, on macOS 13.1 22C65 darwin-arm64, locale en-US)
    • Flutter version 3.7.12 on channel stable at /Users/danny/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (2 weeks ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/danny/Library/Android/sdk
    • Platform android-33-ext4, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2020.2.1)
    • IntelliJ at /Volumes/IWBackupDrive/Backups.backupdb/Daniel’s MacBook Pro (2)/2020-12-02-153336/Macintosh HD - Data/Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.77.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] VS Code (version 1.51.1)
    • VS Code at /Volumes/IWBackupDrive/Backups.backupdb/Daniel’s MacBook Pro (2)/2020-12-02-153336/Macintosh HD - Data/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 112.0.5615.137

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

on Windows and encountered initialization failure,Working normally on the move

I used it on Windows and encountered initialization failure,Working normally on the move
image

there is code:

void main() {
runApp(const MyApp());
}

class MyApp extends StatefulWidget {
const MyApp({super.key});

@OverRide
State createState() => _MyAppState();
}

class _MyAppState extends State {
@OverRide
Widget build(BuildContext context) {
return MaterialApp(
home: Home(),
);
}
}

class Home extends StatefulWidget {
const Home({super.key});

@OverRide
State createState() => _HomeState();
}

class _HomeState extends State {
late MeeduPlayerController _meeduPlayerController;

@OverRide
void initState() {
// TODO: implement initState
_meeduPlayerController.setDataSource(
DataSource(
type: DataSourceType.network,
source: "https://vip.lz-cdn14.com/20230411/21645_f68e95f2/index.m3u8",
),
autoplay: true,
);
super.initState();
}

@OverRide
Widget build(BuildContext context) {
return Scaffold(
body: AspectRatio(
aspectRatio: 16 / 9,
child: MeeduVideoPlayer(controller: _meeduPlayerController),
),
);
}
}

Is possible to add PIP feature for mobile?

Hi @zezo357 ,
first of all thank you for your contribution!

I wanted to ask as the title suggests if is possible to add the PIP feature (for mobile).
I noticed there is already a pip control but it only works for the web.

Can you add this feature for mobile too?

Thanks in advance and have a nice day!

Playing Youtube Live Streams

I successfully played a YouTube video by extracting the source URL, but I encountered an issue when attempting to play a live stream using the same method. Can you provide more information on how to utilize the plugin to play YouTube live streams?

[web] web build failed ,

my project have web side ,
i get to used meedu_player , in my project ,
i did not used it in web , but the build work fine ,
now i get this package in my project like this ,

dependency:
  flutter_meedu_videoplayer: ^2.0.2

dependency_overrides:
  dart_vlc:
    git:
      url: https://github.com/alexmercerind/dart_vlc.git
      ref: master
web build failed with this Error

Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/dynamiclibrary.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/media_source/media.dart:2:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/equalizer.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/broadcast.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/device.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:8:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:6:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/dynamiclibrary.dart:3:6: Error: Type 'DynamicLibrary' not found.
late DynamicLibrary dynamicLibrary;
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:4:27: Error: Type 'Void' not found.
typedef PlayerCreateCXX = Void Function(
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:5:5: Error: Type 'Int32' not found.
Int32 id,
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:6:5: Error: Type 'Int32' not found.
Int32 videoHeight,
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:7:5: Error: Type 'Int32' not found.
Int32 videoWidth,
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:8:5: Error: Type 'Int32' not found.
Int32 commandlineArgumentsCount,
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:9:13: Error: Type 'Pointer' not found.
Pointer<Pointer> commandlineArguments);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:9:5: Error: Type 'Pointer' not found.
Pointer<Pointer> commandlineArguments);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:15:13: Error: Type 'Pointer' not found.
Pointer<Pointer> commandlineArguments);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:15:5: Error: Type 'Pointer' not found.
Pointer<Pointer> commandlineArguments);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:16:28: Error: Type 'Void' not found.
typedef PlayerDisposeCXX = Void Function(Int32 id);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:16:42: Error: Type 'Int32' not found.
typedef PlayerDisposeCXX = Void Function(Int32 id);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:18:25: Error: Type 'Void' not found.
typedef PlayerOpenCXX = Void Function(
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:19:5: Error: Type 'Int32' not found.
Int32 id, Int32 autoStart, Pointer<Pointer> source, Int32 sourceSize);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:19:15: Error: Type 'Int32' not found.
Int32 id, Int32 autoStart, Pointer<Pointer> source, Int32 sourceSize);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:19:40: Error: Type 'Pointer' not found.
Int32 id, Int32 autoStart, Pointer<Pointer> source, Int32 sourceSize);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:19:32: Error: Type 'Pointer' not found.
Int32 id, Int32 autoStart, Pointer<Pointer> source, Int32 sourceSize);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:19:63: Error: Type 'Int32' not found.
Int32 id, Int32 autoStart, Pointer<Pointer> source, Int32 sourceSize);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:21:36: Error: Type 'Pointer' not found.
int id, int autoStart, Pointer<Pointer> source, int sourceSize);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:21:28: Error: Type 'Pointer' not found.
int id, int autoStart, Pointer<Pointer> source, int sourceSize);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:22:28: Error: Type 'Void' not found.
typedef PlayerTriggerCXX = Void Function(Int32 id);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:22:42: Error: Type 'Int32' not found.
typedef PlayerTriggerCXX = Void Function(Int32 id);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:24:32: Error: Type 'Void' not found.
typedef PlayerJumpToIndexCXX = Void Function(Int32 id, Int32 index);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:24:46: Error: Type 'Int32' not found.
typedef PlayerJumpToIndexCXX = Void Function(Int32 id, Int32 index);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:24:56: Error: Type 'Int32' not found.
typedef PlayerJumpToIndexCXX = Void Function(Int32 id, Int32 index);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:26:25: Error: Type 'Void' not found.
typedef PlayerSeekCXX = Void Function(Int32 id, Int32 position);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:26:39: Error: Type 'Int32' not found.
typedef PlayerSeekCXX = Void Function(Int32 id, Int32 position);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:26:49: Error: Type 'Int32' not found.
typedef PlayerSeekCXX = Void Function(Int32 id, Int32 position);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:28:30: Error: Type 'Void' not found.
typedef PlayerSetVolumeCXX = Void Function(Int32 id, Float volume);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:28:44: Error: Type 'Int32' not found.
typedef PlayerSetVolumeCXX = Void Function(Int32 id, Float volume);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:28:54: Error: Type 'Float' not found.
typedef PlayerSetVolumeCXX = Void Function(Int32 id, Float volume);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:30:28: Error: Type 'Void' not found.
typedef PlayerSetRateCXX = Void Function(Int32 id, Float volume);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:30:42: Error: Type 'Int32' not found.
typedef PlayerSetRateCXX = Void Function(Int32 id, Float volume);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:30:52: Error: Type 'Float' not found.
typedef PlayerSetRateCXX = Void Function(Int32 id, Float volume);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:32:33: Error: Type 'Void' not found.
typedef PlayerSetUserAgentCXX = Void Function(
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:33:5: Error: Type 'Int32' not found.
Int32 id, Pointer userAgent);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:33:15: Error: Type 'Pointer' not found.
Int32 id, Pointer userAgent);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:34:56: Error: Type 'Pointer' not found.
typedef PlayerSetUserAgentDart = void Function(int id, Pointer userAgent);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:35:33: Error: Type 'Void' not found.
typedef PlayerSetEqualizerCXX = Void Function(Int32 id, Int32 equalizerId);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:35:47: Error: Type 'Int32' not found.
typedef PlayerSetEqualizerCXX = Void Function(Int32 id, Int32 equalizerId);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:35:57: Error: Type 'Int32' not found.
typedef PlayerSetEqualizerCXX = Void Function(Int32 id, Int32 equalizerId);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:37:30: Error: Type 'Void' not found.
typedef PlayerSetDeviceCXX = Void Function(
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:38:5: Error: Type 'Int32' not found.
Int32 id, Pointer deviceId, Pointer deviceName);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:38:15: Error: Type 'Pointer' not found.
Int32 id, Pointer deviceId, Pointer deviceName);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:38:39: Error: Type 'Pointer' not found.
Int32 id, Pointer deviceId, Pointer deviceName);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:40:13: Error: Type 'Pointer' not found.
int id, Pointer deviceId, Pointer deviceName);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:40:37: Error: Type 'Pointer' not found.
int id, Pointer deviceId, Pointer deviceName);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:41:36: Error: Type 'Void' not found.
typedef PlayerSetPlaylistModeCXX = Void Function(Int32 id, Pointer mode);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:41:50: Error: Type 'Int32' not found.
typedef PlayerSetPlaylistModeCXX = Void Function(Int32 id, Pointer mode);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:41:60: Error: Type 'Pointer' not found.
typedef PlayerSetPlaylistModeCXX = Void Function(Int32 id, Pointer mode);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:42:59: Error: Type 'Pointer' not found.
typedef PlayerSetPlaylistModeDart = void Function(int id, Pointer mode);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:43:24: Error: Type 'Void' not found.
typedef PlayerAddCXX = Void Function(
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:44:5: Error: Type 'Int32' not found.
Int32 id, Pointer type, Pointer resource);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:44:15: Error: Type 'Pointer' not found.
Int32 id, Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:44:35: Error: Type 'Pointer' not found.
Int32 id, Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:46:13: Error: Type 'Pointer' not found.
int id, Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:46:33: Error: Type 'Pointer' not found.
int id, Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:47:27: Error: Type 'Void' not found.
typedef PlayerRemoveCXX = Void Function(Int32 id, Int32 index);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:47:41: Error: Type 'Int32' not found.
typedef PlayerRemoveCXX = Void Function(Int32 id, Int32 index);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:47:51: Error: Type 'Int32' not found.
typedef PlayerRemoveCXX = Void Function(Int32 id, Int32 index);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:49:27: Error: Type 'Void' not found.
typedef PlayerInsertCXX = Void Function(
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:50:5: Error: Type 'Int32' not found.
Int32 id, Int32 index, Pointer type, Pointer resource);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:50:15: Error: Type 'Int32' not found.
Int32 id, Int32 index, Pointer type, Pointer resource);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:50:28: Error: Type 'Pointer' not found.
Int32 id, Int32 index, Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:50:48: Error: Type 'Pointer' not found.
Int32 id, Int32 index, Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:52:24: Error: Type 'Pointer' not found.
int id, int index, Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:52:44: Error: Type 'Pointer' not found.
int id, int index, Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:53:25: Error: Type 'Void' not found.
typedef PlayerMoveCXX = Void Function(
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:54:5: Error: Type 'Int32' not found.
Int32 id, Int32 initialIndex, Int32 finalIndex);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:54:15: Error: Type 'Int32' not found.
Int32 id, Int32 initialIndex, Int32 finalIndex);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:54:35: Error: Type 'Int32' not found.
Int32 id, Int32 initialIndex, Int32 finalIndex);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:57:33: Error: Type 'Void' not found.
typedef PlayerTakeSnapshotCXX = Void Function(
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:58:5: Error: Type 'Int32' not found.
Int32 id, Pointer filePath, Int32 width, Int32 height);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:58:15: Error: Type 'Pointer' not found.
Int32 id, Pointer filePath, Int32 width, Int32 height);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:58:39: Error: Type 'Int32' not found.
Int32 id, Pointer filePath, Int32 width, Int32 height);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:58:52: Error: Type 'Int32' not found.
Int32 id, Pointer filePath, Int32 width, Int32 height);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:60:13: Error: Type 'Pointer' not found.
int id, Pointer filePath, int width, int height);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:61:34: Error: Type 'Void' not found.
typedef PlayerSetAudioTrackCXX = Void Function(Int32 id, Int32 index);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:61:48: Error: Type 'Int32' not found.
typedef PlayerSetAudioTrackCXX = Void Function(Int32 id, Int32 index);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:61:58: Error: Type 'Int32' not found.
typedef PlayerSetAudioTrackCXX = Void Function(Int32 id, Int32 index);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:63:39: Error: Type 'Int32' not found.
typedef PlayerGetAudioTrackCountCXX = Int32 Function(Int32 id);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:63:54: Error: Type 'Int32' not found.
typedef PlayerGetAudioTrackCountCXX = Int32 Function(Int32 id);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:65:28: Error: Type 'Int32' not found.
typedef PlayerSetHWNDCXX = Int32 Function(Int32 id, Int64 hwnd);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:65:43: Error: Type 'Int32' not found.
typedef PlayerSetHWNDCXX = Int32 Function(Int32 id, Int64 hwnd);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/player.dart:65:53: Error: Type 'Int64' not found.
typedef PlayerSetHWNDCXX = Int32 Function(Int32 id, Int64 hwnd);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:4:33: Error: Type 'Pointer' not found.
typedef MediaParseCXX = Pointer<Pointer> Function(
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:4:25: Error: Type 'Pointer' not found.
typedef MediaParseCXX = Pointer<Pointer> Function(
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:5:5: Error: Type 'Handle' not found.
Handle object, Pointer type, Pointer resource, Int32 timeout);
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:5:20: Error: Type 'Pointer' not found.
Handle object, Pointer type, Pointer resource, Int32 timeout);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:5:40: Error: Type 'Pointer' not found.
Handle object, Pointer type, Pointer resource, Int32 timeout);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:5:64: Error: Type 'Int32' not found.
Handle object, Pointer type, Pointer resource, Int32 timeout);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:6:34: Error: Type 'Pointer' not found.
typedef MediaParseDart = Pointer<Pointer> Function(
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:6:26: Error: Type 'Pointer' not found.
typedef MediaParseDart = Pointer<Pointer> Function(
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:7:20: Error: Type 'Pointer' not found.
Object object, Pointer type, Pointer resource, int timeout);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/media.dart:7:40: Error: Type 'Pointer' not found.
Object object, Pointer type, Pointer resource, int timeout);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:4:28: Error: Type 'Struct' not found.
class DeviceStruct extends Struct {
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:5:12: Error: Type 'Pointer' not found.
external Pointer name;
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:6:12: Error: Type 'Pointer' not found.
external Pointer id;
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:10:26: Error: Type 'Struct' not found.
class DeviceList extends Struct {
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:13:12: Error: Type 'Pointer' not found.
external Pointer devices;
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:16:25: Error: Type 'Pointer' not found.
typedef DevicesAllCXX = Pointer Function(Handle object);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:16:54: Error: Type 'Handle' not found.
typedef DevicesAllCXX = Pointer Function(Handle object);
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:17:26: Error: Type 'Pointer' not found.
typedef DevicesAllDart = Pointer Function(Object object);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:4:31: Error: Type 'Struct' not found.
class EqualizerStruct extends Struct {
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:12:20: Error: Type 'Float' not found.
external Pointer bands;
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:12:12: Error: Type 'Pointer' not found.
external Pointer bands;
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:14:20: Error: Type 'Float' not found.
external Pointer amps;
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:14:12: Error: Type 'Pointer' not found.
external Pointer amps;
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:20:35: Error: Type 'Pointer' not found.
typedef EqualizerCreateEmptyCXX = Pointer Function(
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:21:5: Error: Type 'Handle' not found.
Handle object);
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:22:36: Error: Type 'Pointer' not found.
typedef EqualizerCreateEmptyDart = Pointer Function(
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:24:34: Error: Type 'Pointer' not found.
typedef EqualizerCreateModeCXX = Pointer Function(
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:25:5: Error: Type 'Handle' not found.
Handle object, Int32 mode);
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:25:20: Error: Type 'Int32' not found.
Handle object, Int32 mode);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:26:35: Error: Type 'Pointer' not found.
typedef EqualizerCreateModeDart = Pointer Function(
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:28:34: Error: Type 'Void' not found.
typedef EqualizerSetBandAmpCXX = Void Function(Int32 id, Float band, Float amp);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:28:48: Error: Type 'Int32' not found.
typedef EqualizerSetBandAmpCXX = Void Function(Int32 id, Float band, Float amp);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:28:58: Error: Type 'Float' not found.
typedef EqualizerSetBandAmpCXX = Void Function(Int32 id, Float band, Float amp);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:28:70: Error: Type 'Float' not found.
typedef EqualizerSetBandAmpCXX = Void Function(Int32 id, Float band, Float amp);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:31:33: Error: Type 'Void' not found.
typedef EqualizerSetPreAmpCXX = Void Function(Int32 id, Float amp);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:31:47: Error: Type 'Int32' not found.
typedef EqualizerSetPreAmpCXX = Void Function(Int32 id, Float amp);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:31:57: Error: Type 'Float' not found.
typedef EqualizerSetPreAmpCXX = Void Function(Int32 id, Float amp);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:4:27: Error: Type 'Void' not found.
typedef RecordCreateCXX = Void Function(Int32 id, Pointer savingFile,
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:4:41: Error: Type 'Int32' not found.
typedef RecordCreateCXX = Void Function(Int32 id, Pointer savingFile,
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:4:51: Error: Type 'Pointer' not found.
typedef RecordCreateCXX = Void Function(Int32 id, Pointer savingFile,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:5:5: Error: Type 'Pointer' not found.
Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:5:25: Error: Type 'Pointer' not found.
Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:6:50: Error: Type 'Pointer' not found.
typedef RecordCreateDart = void Function(int id, Pointer savingFile,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:7:5: Error: Type 'Pointer' not found.
Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:7:25: Error: Type 'Pointer' not found.
Pointer type, Pointer resource);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:8:26: Error: Type 'Void' not found.
typedef RecordStartCXX = Void Function(Int32 id);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:8:40: Error: Type 'Int32' not found.
typedef RecordStartCXX = Void Function(Int32 id);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:10:28: Error: Type 'Void' not found.
typedef RecordDisposeCXX = Void Function(Int32 id);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/record.dart:10:42: Error: Type 'Int32' not found.
typedef RecordDisposeCXX = Void Function(Int32 id);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:4:30: Error: Type 'Void' not found.
typedef BroadcastCreateCXX = Void Function(
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:5:5: Error: Type 'Int32' not found.
Int32 id,
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:6:5: Error: Type 'Pointer' not found.
Pointer type,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:7:5: Error: Type 'Pointer' not found.
Pointer resource,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:8:5: Error: Type 'Pointer' not found.
Pointer access,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:9:5: Error: Type 'Pointer' not found.
Pointer mux,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:10:5: Error: Type 'Pointer' not found.
Pointer dst,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:11:5: Error: Type 'Pointer' not found.
Pointer vcodec,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:12:5: Error: Type 'Int32' not found.
Int32 vb,
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:13:5: Error: Type 'Pointer' not found.
Pointer acodec,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:14:5: Error: Type 'Int32' not found.
Int32 ab);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:17:5: Error: Type 'Pointer' not found.
Pointer type,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:18:5: Error: Type 'Pointer' not found.
Pointer resource,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:19:5: Error: Type 'Pointer' not found.
Pointer access,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:20:5: Error: Type 'Pointer' not found.
Pointer mux,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:21:5: Error: Type 'Pointer' not found.
Pointer dst,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:22:5: Error: Type 'Pointer' not found.
Pointer vcodec,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:24:5: Error: Type 'Pointer' not found.
Pointer acodec,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:26:29: Error: Type 'Void' not found.
typedef BroadcastStartCXX = Void Function(Int32 id);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:26:43: Error: Type 'Int32' not found.
typedef BroadcastStartCXX = Void Function(Int32 id);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:28:31: Error: Type 'Void' not found.
typedef BroadcastDisposeCXX = Void Function(Int32 id);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/broadcast.dart:28:45: Error: Type 'Int32' not found.
typedef BroadcastDisposeCXX = Void Function(Int32 id);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:4:31: Error: Type 'Void' not found.
typedef ChromecastCreateCXX = Void Function(Int32 id, Pointer type,
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:4:45: Error: Type 'Int32' not found.
typedef ChromecastCreateCXX = Void Function(Int32 id, Pointer type,
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:4:55: Error: Type 'Pointer' not found.
typedef ChromecastCreateCXX = Void Function(Int32 id, Pointer type,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:5:5: Error: Type 'Pointer' not found.
Pointer resource, Pointer ipAddress);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:5:29: Error: Type 'Pointer' not found.
Pointer resource, Pointer ipAddress);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:6:54: Error: Type 'Pointer' not found.
typedef ChromecastCreateDart = void Function(int id, Pointer type,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:7:5: Error: Type 'Pointer' not found.
Pointer resource, Pointer ipAddress);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:7:29: Error: Type 'Pointer' not found.
Pointer resource, Pointer ipAddress);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:8:30: Error: Type 'Void' not found.
typedef ChromecastStartCXX = Void Function(Int32 id);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:8:44: Error: Type 'Int32' not found.
typedef ChromecastStartCXX = Void Function(Int32 id);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:10:32: Error: Type 'Void' not found.
typedef ChromecastDisposeCXX = Void Function(Int32 id);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/chromecast.dart:10:46: Error: Type 'Int32' not found.
typedef ChromecastDisposeCXX = Void Function(Int32 id);
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:5:32: Error: Type 'Void' not found.
typedef InitializeDartApiCXX = Void Function(
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:6:28: Error: Type 'Int8' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:6:42: Error: Type 'Int64' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:6:57: Error: Type 'Dart_CObject' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:6:49: Error: Type 'Pointer' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:6:13: Error: Type 'NativeFunction' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:6:5: Error: Type 'Pointer' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:8:5: Error: Type 'Int64' not found.
Int64 nativePort,
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:9:13: Error: Type 'Void' not found.
Pointer initializeApiDLData);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:9:5: Error: Type 'Pointer' not found.
Pointer initializeApiDLData);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:11:28: Error: Type 'Int8' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:11:42: Error: Type 'Int64' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:11:57: Error: Type 'Dart_CObject' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:11:49: Error: Type 'Pointer' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:11:13: Error: Type 'NativeFunction' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:11:5: Error: Type 'Pointer' not found.
Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:14:13: Error: Type 'Void' not found.
Pointer initializeApiDLData);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:14:5: Error: Type 'Pointer' not found.
Pointer initializeApiDLData);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:9:7: Error: Type 'DynamicLibrary' not found.
final DynamicLibrary stdlib = Platform.isWindows
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:13:29: Error: Type 'Pointer' not found.
typedef PosixMallocNative = Pointer Function(IntPtr);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:13:46: Error: Type 'IntPtr' not found.
typedef PosixMallocNative = Pointer Function(IntPtr);
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:14:23: Error: Type 'Pointer' not found.
typedef PosixMalloc = Pointer Function(int);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:18:29: Error: Type 'Pointer' not found.
typedef PosixCallocNative = Pointer Function(IntPtr num, IntPtr size);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:18:46: Error: Type 'IntPtr' not found.
typedef PosixCallocNative = Pointer Function(IntPtr num, IntPtr size);
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:18:58: Error: Type 'IntPtr' not found.
typedef PosixCallocNative = Pointer Function(IntPtr num, IntPtr size);
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:19:23: Error: Type 'Pointer' not found.
typedef PosixCalloc = Pointer Function(int num, int size);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:23:27: Error: Type 'Void' not found.
typedef PosixFreeNative = Void Function(Pointer);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:23:41: Error: Type 'Pointer' not found.
typedef PosixFreeNative = Void Function(Pointer);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:24:35: Error: Type 'Pointer' not found.
typedef PosixFree = void Function(Pointer);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:28:35: Error: Type 'Pointer' not found.
typedef WinCoTaskMemAllocNative = Pointer Function(Size cb);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:28:52: Error: Type 'Size' not found.
typedef WinCoTaskMemAllocNative = Pointer Function(Size cb);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:29:29: Error: Type 'Pointer' not found.
typedef WinCoTaskMemAlloc = Pointer Function(int cb);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:34:34: Error: Type 'Void' not found.
typedef WinCoTaskMemFreeNative = Void Function(Pointer pv);
^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:34:48: Error: Type 'Pointer' not found.
typedef WinCoTaskMemFreeNative = Void Function(Pointer pv);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:35:42: Error: Type 'Pointer' not found.
typedef WinCoTaskMemFree = void Function(Pointer pv);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:46:35: Error: Type 'Allocator' not found.
class _MallocAllocator implements Allocator {
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:58:3: Error: Type 'Pointer' not found.
Pointer allocate(int byteCount, {int? alignment}) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:58:33: Error: Type 'NativeType' not found.
Pointer allocate(int byteCount, {int? alignment}) {
^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:77:13: Error: Type 'Pointer' not found.
void free(Pointer pointer) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:93:7: Error: Type 'Allocator' not found.
const Allocator malloc = _MallocAllocator();
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:101:35: Error: Type 'Allocator' not found.
class _CallocAllocator implements Allocator {
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:105:20: Error: Type 'Pointer' not found.
void _fillMemory(Pointer destination, int length, int fill) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:114:20: Error: Type 'Pointer' not found.
void _zeroMemory(Pointer destination, int length) =>
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:127:3: Error: Type 'Pointer' not found.
Pointer allocate(int byteCount, {int? alignment}) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:127:33: Error: Type 'NativeType' not found.
Pointer allocate(int byteCount, {int? alignment}) {
^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:149:13: Error: Type 'Pointer' not found.
void free(Pointer pointer) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:165:7: Error: Type 'Allocator' not found.
const Allocator calloc = _CallocAllocator();
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:24:24: Error: Type 'Allocator' not found.
class Arena implements Allocator {
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:26:9: Error: Type 'Allocator' not found.
final Allocator _wrappedAllocator;
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:29:22: Error: Type 'NativeType' not found.
final List<Pointer> _managedMemoryPointers = [];
^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:29:14: Error: Type 'Pointer' not found.
final List<Pointer> _managedMemoryPointers = [];
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:40:10: Error: Type 'Allocator' not found.
Arena([Allocator allocator = calloc]) : _wrappedAllocator = allocator;
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:50:3: Error: Type 'Pointer' not found.
Pointer allocate(int byteCount, {int? alignment}) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:50:33: Error: Type 'NativeType' not found.
Pointer allocate(int byteCount, {int? alignment}) {
^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:101:21: Error: Type 'NativeType' not found.
void free(Pointer pointer) {}
^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:101:13: Error: Type 'Pointer' not found.
void free(Pointer pointer) {}
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:120:6: Error: Type 'Allocator' not found.
[Allocator wrappedAllocator = calloc]) {
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:144:6: Error: Type 'Allocator' not found.
[Allocator wrappedAllocator = calloc]) {
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:16:20: Error: Type 'Opaque' not found.
class Utf8 extends Opaque {}
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:19:26: Error: Type 'Pointer' not found.
extension Utf8Pointer on Pointer {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:52:30: Error: Type 'Uint8' not found.
static int _length(Pointer codeUnits) {
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:52:22: Error: Type 'Pointer' not found.
static int _length(Pointer codeUnits) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:81:3: Error: Type 'Pointer' not found.
Pointer toNativeUtf8({Allocator allocator = malloc}) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:81:31: Error: Type 'Allocator' not found.
Pointer toNativeUtf8({Allocator allocator = malloc}) {
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:16:21: Error: Type 'Opaque' not found.
class Utf16 extends Opaque {}
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:19:27: Error: Type 'Pointer' not found.
extension Utf16Pointer on Pointer {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:52:46: Error: Type 'Uint16' not found.
static String _toKnownLengthString(Pointer codeUnits, int length) =>
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:52:38: Error: Type 'Pointer' not found.
static String _toKnownLengthString(Pointer codeUnits, int length) =>
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:55:48: Error: Type 'Uint16' not found.
static String _toUnknownLengthString(Pointer codeUnits) {
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:55:40: Error: Type 'Pointer' not found.
static String _toUnknownLengthString(Pointer codeUnits) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:68:30: Error: Type 'Uint16' not found.
static int _length(Pointer codeUnits) {
^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:68:22: Error: Type 'Pointer' not found.
static int _length(Pointer codeUnits) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:93:3: Error: Type 'Pointer' not found.
Pointer toNativeUtf16({Allocator allocator = malloc}) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:93:33: Error: Type 'Allocator' not found.
Pointer toNativeUtf16({Allocator allocator = malloc}) {
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:11:4: Error: Couldn't find constructor 'Int32'.
@int32()
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:5:4: Error: Couldn't find constructor 'Int32'.
@int32()
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:8:4: Error: Couldn't find constructor 'Float'.
@float()
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:16:4: Error: Couldn't find constructor 'Int32'.
@int32()
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:19:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerCreate')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:23:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerDispose')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:27:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerOpen')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:31:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerPlay')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:35:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerPause')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:39:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerPlayOrPause')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:43:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerStop')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:47:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerNext')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:51:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerPrevious')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:55:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerJumpToIndex')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:59:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerSeek')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:63:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerSetVolume')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:67:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerSetRate')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:71:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerSetUserAgent')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:75:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerSetEqualizer')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:79:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerSetDevice')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:83:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerSetPlaylistMode')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:87:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerAdd')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:91:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerRemove')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:95:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerInsert')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:99:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerMove')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:103:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerTakeSnapshot')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:107:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerSetAudioTrack')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:111:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>(
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:116:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('PlayerSetHWND')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:122:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('MediaParse')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:128:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('BroadcastCreate')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:132:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('BroadcastStart')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:136:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('BroadcastDispose')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:142:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('ChromecastCreate')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:146:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('ChromecastStart')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:150:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('ChromecastDispose')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:156:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('RecordCreate')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:160:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('RecordStart')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:164:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('RecordDispose')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:170:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('DevicesAll')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:176:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('EqualizerCreateEmpty')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:180:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('EqualizerCreateMode')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:184:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('EqualizerSetBandAmp')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/ffi.dart:188:15: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('EqualizerSetPreAmp')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/dynamiclibrary.dart:3:6: Error: 'DynamicLibrary' isn't a type.
late DynamicLibrary dynamicLibrary;
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:5:12: Error: 'Pointer' isn't a type.
external Pointer name;
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:6:12: Error: 'Pointer' isn't a type.
external Pointer id;
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:13:12: Error: 'Pointer' isn't a type.
external Pointer devices;
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:12:20: Error: 'Float' isn't a type.
external Pointer bands;
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:12:12: Error: 'Pointer' isn't a type.
external Pointer bands;
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:14:20: Error: 'Float' isn't a type.
external Pointer amps;
^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:14:12: Error: 'Pointer' isn't a type.
external Pointer amps;
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:122:16: Error: 'Pointer' isn't a type.
final List<Pointer> pointers =
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:123:39: Error: 'Pointer' isn't a type.
this.commandlineArguments.map<Pointer>((e) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:126:19: Error: 'Pointer' isn't a type.
final Pointer<Pointer> arr =
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:126:11: Error: 'Pointer' isn't a type.
final Pointer<Pointer> arr =
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:187:18: Error: 'Pointer' isn't a type.
final List<Pointer> pointers = args.map<Pointer>((e) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:187:53: Error: 'Pointer' isn't a type.
final List<Pointer> pointers = args.map<Pointer>((e) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:190:21: Error: 'Pointer' isn't a type.
final Pointer<Pointer> arr = calloc.allocate(args.join().length);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:190:13: Error: 'Pointer' isn't a type.
final Pointer<Pointer> arr = calloc.allocate(args.join().length);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:217:18: Error: 'Pointer' isn't a type.
final List<Pointer> pointers = medias.map<Pointer>((e) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:217:55: Error: 'Pointer' isn't a type.
final List<Pointer> pointers = medias.map<Pointer>((e) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:220:21: Error: 'Pointer' isn't a type.
final Pointer<Pointer> arr = calloc.allocate(medias.join().length);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/player.dart:220:13: Error: 'Pointer' isn't a type.
final Pointer<Pointer> arr = calloc.allocate(medias.join().length);
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/media_source/media.dart:172:13: Error: 'Pointer' isn't a type.
Pointer<Pointer> metas = MediaFFI.parse(
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/media_source/media.dart:172:5: Error: 'Pointer' isn't a type.
Pointer<Pointer> metas = MediaFFI.parse(
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/broadcast.dart:114:18: Error: 'Pointer' isn't a type.
args[1] as Pointer,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/broadcast.dart:115:18: Error: 'Pointer' isn't a type.
args[2] as Pointer,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/broadcast.dart:116:18: Error: 'Pointer' isn't a type.
args[3] as Pointer,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/broadcast.dart:117:18: Error: 'Pointer' isn't a type.
args[4] as Pointer,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/broadcast.dart:118:18: Error: 'Pointer' isn't a type.
args[5] as Pointer,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/broadcast.dart:119:18: Error: 'Pointer' isn't a type.
args[6] as Pointer,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/broadcast.dart:121:18: Error: 'Pointer' isn't a type.
args[8] as Pointer,
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/broadcast.dart:125:22: Error: 'Pointer' isn't a type.
if (element is Pointer) {
^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:19:24: Error: Undefined name 'DynamicLibrary'.
dynamicLibrary = DynamicLibrary.open(dynamicLibraryPath);
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:21:19: Error: 'NativeFunction' isn't a type.
.lookup<NativeFunction>('InitializeDartApi')
^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:23:25: Error: Undefined name 'NativeApi'.
initializeDartApi(NativeApi.postCObject, receiver.sendPort.nativePort,
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:24:11: Error: Undefined name 'NativeApi'.
NativeApi.initializeApiDLData);
^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/initializer.dart:23:66: Error: The getter 'nativePort' isn't defined for the class 'SendPort'.

  • 'SendPort' is from 'dart:isolate'.
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'nativePort'.
    initializeDartApi(NativeApi.postCObject, receiver.sendPort.nativePort,
    ^^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:9:7: Error: 'DynamicLibrary' isn't a type.
    final DynamicLibrary stdlib = Platform.isWindows
    ^^^^^^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:10:7: Error: Undefined name 'DynamicLibrary'.
    ? DynamicLibrary.open('ole32.dll')
    ^^^^^^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:11:7: Error: Undefined name 'DynamicLibrary'.
    : DynamicLibrary.process();
    ^^^^^^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:59:5: Error: 'Pointer' isn't a type.
    Pointer result;
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:77:13: Error: 'Pointer' isn't a type.
    void free(Pointer pointer) {
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:93:7: Error: 'Allocator' isn't a type.
    const Allocator malloc = _MallocAllocator();
    ^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:105:20: Error: 'Pointer' isn't a type.
    void _fillMemory(Pointer destination, int length, int fill) {
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:106:34: Error: 'Uint8' isn't a type.
    final ptr = destination.cast();
    ^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:114:20: Error: 'Pointer' isn't a type.
    void _zeroMemory(Pointer destination, int length) =>
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:128:5: Error: 'Pointer' isn't a type.
    Pointer result;
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:149:13: Error: 'Pointer' isn't a type.
    void free(Pointer pointer) {
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:165:7: Error: 'Allocator' isn't a type.
    const Allocator calloc = _CallocAllocator();
    ^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:26:9: Error: 'Allocator' isn't a type.
    final Allocator _wrappedAllocator;
    ^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:29:22: Error: 'NativeType' isn't a type.
    final List<Pointer> _managedMemoryPointers = [];
    ^^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:29:14: Error: 'Pointer' isn't a type.
    final List<Pointer> _managedMemoryPointers = [];
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:40:10: Error: 'Allocator' isn't a type.
    Arena([Allocator allocator = calloc]) : _wrappedAllocator = allocator;
    ^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:101:21: Error: 'NativeType' isn't a type.
    void free(Pointer pointer) {}
    ^^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:101:13: Error: 'Pointer' isn't a type.
    void free(Pointer pointer) {}
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:120:6: Error: 'Allocator' isn't a type.
    [Allocator wrappedAllocator = calloc]) {
    ^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:144:6: Error: 'Allocator' isn't a type.
    [Allocator wrappedAllocator = calloc]) {
    ^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:26:28: Error: 'Uint8' isn't a type.
    final codeUnits = cast();
    ^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:43:28: Error: 'Uint8' isn't a type.
    final codeUnits = cast();
    ^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:52:30: Error: 'Uint8' isn't a type.
    static int _length(Pointer codeUnits) {
    ^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:52:22: Error: 'Pointer' isn't a type.
    static int _length(Pointer codeUnits) {
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:81:31: Error: 'Allocator' isn't a type.
    Pointer toNativeUtf8({Allocator allocator = malloc}) {
    ^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:83:19: Error: 'Uint8' isn't a type.
    final Pointer result = allocator(units.length + 1);
    ^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:83:11: Error: 'Pointer' isn't a type.
    final Pointer result = allocator(units.length + 1);
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf8.dart:83:45: Error: 'Uint8' isn't a type.
    final Pointer result = allocator(units.length + 1);
    ^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:26:28: Error: 'Uint16' isn't a type.
    final codeUnits = cast();
    ^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:43:28: Error: 'Uint16' isn't a type.
    final codeUnits = cast();
    ^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:52:46: Error: 'Uint16' isn't a type.
    static String _toKnownLengthString(Pointer codeUnits, int length) =>
    ^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:52:38: Error: 'Pointer' isn't a type.
    static String _toKnownLengthString(Pointer codeUnits, int length) =>
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:55:48: Error: 'Uint16' isn't a type.
    static String _toUnknownLengthString(Pointer codeUnits) {
    ^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:55:40: Error: 'Pointer' isn't a type.
    static String _toUnknownLengthString(Pointer codeUnits) {
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:68:30: Error: 'Uint16' isn't a type.
    static int _length(Pointer codeUnits) {
    ^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:68:22: Error: 'Pointer' isn't a type.
    static int _length(Pointer codeUnits) {
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:93:33: Error: 'Allocator' isn't a type.
    Pointer toNativeUtf16({Allocator allocator = malloc}) {
    ^^^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:95:19: Error: 'Uint16' isn't a type.
    final Pointer result = allocator(units.length + 1);
    ^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:95:11: Error: 'Pointer' isn't a type.
    final Pointer result = allocator(units.length + 1);
    ^^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/utf16.dart:95:46: Error: 'Uint16' isn't a type.
    final Pointer result = allocator(units.length + 1);
    ^^^^^^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:5:26: Error: Only JS interop members may be 'external'.
    Try removing the 'external' keyword or adding a JS interop annotation.
    external Pointer name;
    ^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:6:26: Error: Only JS interop members may be 'external'.
    Try removing the 'external' keyword or adding a JS interop annotation.
    external Pointer id;
    ^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:12:16: Error: Only JS interop members may be 'external'.
    Try removing the 'external' keyword or adding a JS interop annotation.
    external int size;
    ^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/devices.dart:13:34: Error: Only JS interop members may be 'external'.
    Try removing the 'external' keyword or adding a JS interop annotation.
    external Pointer devices;
    ^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:6:16: Error: Only JS interop members may be 'external'.
    Try removing the 'external' keyword or adding a JS interop annotation.
    external int id;
    ^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:10:19: Error: Only JS interop members may be 'external'.
    Try removing the 'external' keyword or adding a JS interop annotation.
    external double pre_amp;
    ^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:12:27: Error: Only JS interop members may be 'external'.
    Try removing the 'external' keyword or adding a JS interop annotation.
    external Pointer bands;
    ^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:14:27: Error: Only JS interop members may be 'external'.
    Try removing the 'external' keyword or adding a JS interop annotation.
    external Pointer amps;
    ^
    ../../../flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc_ffi-0.2.0+1/lib/src/internal/typedefs/equalizer.dart:17:16: Error: Only JS interop members may be 'external'.
    Try removing the 'external' keyword or adding a JS interop annotation.
    external int size;
    ^
    Failed to compile application.

Problem when trying to run video on windows

flutter: {connectionId: 3, n: 0, syncMillis: 0, writtenTo: null, writeConcern: {w: 1, wtimeout: 0}, err: null, ok: 1.0}
flutter: {connectionId: 3, n: 0, syncMillis: 0, writtenTo: null, writeConcern: {w: 1, wtimeout: 0}, err: null, ok: 1.0}
flutter: true
flutter: Fit is BoxFit.fill
flutter: Null check operator used on a null value
flutter: #0 MeeduPlayerController._createVideoController
#1 MeeduPlayerController.setDataSource
#2 _BasicPlayerState._init
#3 _BasicPlayerState.initState.
#4 SchedulerBinding._invokeFrameCallback
#5 SchedulerBinding.handleDrawFrame
#6 SchedulerBinding._handleDrawFrame
#7 _invoke (dart:ui/hooks.dart:145:13)
#8 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:338:5)
#9 _drawFrame (dart:ui/hooks.dart:112:31)
flutter: Last fit used was scaleDown
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value
#0 MeeduPlayerController.setDataSource
#1 _BasicPlayerState._init
#2 _BasicPlayerState.initState.
#3 SchedulerBinding._invokeFrameCallback
#4 SchedulerBinding.handleDrawFrame
#5 SchedulerBinding._handleDrawFrame
#6 _invoke (dart:ui/hooks.dart:145:13)
#7 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:338:5)
#8 _drawFrame (dart:ui/hooks.dart:112:31)
flutter: Fit is BoxFit.scaleDown

The lines above is the stacktrace when the error was throwen,
And this is flutter doctor -v output

[√] Flutter (Channel stable, 3.7.1, on Microsoft Windows [Version 10.0.19041.1415], locale en-US)
• Flutter version 3.7.1 on channel stable at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 7048ed95a5 (7 weeks ago), 2023-02-01 09:07:31 -0800
• Engine revision 800594f1f4
• Dart version 2.19.1
• DevTools version 2.20.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at C:\Users\Mopilani\AppData\Local\Android\sdk
• Platform android-33, build-tools 32.1.0-rc1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.5)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.0.32112.339
• Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] VS Code (version 1.74.3)
• VS Code at C:\Users\Mopilani\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.46.0

[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19041.1415]
• Chrome (web) • chrome • web-javascript • Google Chrome 110.0.5481.178
• Edge (web) • edge • web-javascript • Microsoft Edge 102.0.1245.33

[√] HTTP Host Availability
• All required HTTP hosts are available

• No issues found!

In my case i tryed to run mp4 and mkv videos and i am using a code from the example that were provided with the package.

MacOS Exception: Error running pod install with ^4.2.6

Hi:

I configured the project as the readme.txt and I'm getting this error.

The MACOSX_DEPLOYMENT_TARGET is 11.0.

Do you have any ideas?

Running pod install...                                           1,293ms
CocoaPods' output:
↳
  Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

    Finding Podfile changes
      A flutter_meedu_videoplayer
      A media_kit_libs_macos_video
      A media_kit_native_event_loop
      A media_kit_video
      A screen_brightness_macos
      A screen_retriever
      A window_manager
      R video_player_macos
      - FlutterMacOS
      - device_info_plus
      - isar_flutter_libs
      - package_info_plus
      - path_provider_foundation
      - printing
      - shared_preferences_foundation
      - wakelock_macos

    Fetching external sources
    -> Fetching podspec for `FlutterMacOS` from `Flutter/ephemeral`
    -> Fetching podspec for `device_info_plus` from `Flutter/ephemeral/.symlinks/plugins/device_info_plus/macos`
    -> Fetching podspec for `flutter_meedu_videoplayer` from `Flutter/ephemeral/.symlinks/plugins/flutter_meedu_videoplayer/macos`
    -> Fetching podspec for `isar_flutter_libs` from `Flutter/ephemeral/.symlinks/plugins/isar_flutter_libs/macos`
    -> Fetching podspec for `media_kit_libs_macos_video` from `Flutter/ephemeral/.symlinks/plugins/media_kit_libs_macos_video/macos`
    make: Nothing to be done for `all'.
    -> Fetching podspec for `media_kit_native_event_loop` from `Flutter/ephemeral/.symlinks/plugins/media_kit_native_event_loop/macos`
    make: Nothing to be done for `all'.
    -> Fetching podspec for `media_kit_video` from `Flutter/ephemeral/.symlinks/plugins/media_kit_video/macos`
    make: Nothing to be done for `all'.
    -> Fetching podspec for `package_info_plus` from `Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos`
    -> Fetching podspec for `path_provider_foundation` from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/macos`
    -> Fetching podspec for `printing` from `Flutter/ephemeral/.symlinks/plugins/printing/macos`
    -> Fetching podspec for `screen_brightness_macos` from `Flutter/ephemeral/.symlinks/plugins/screen_brightness_macos/macos`
    -> Fetching podspec for `screen_retriever` from `Flutter/ephemeral/.symlinks/plugins/screen_retriever/macos`
    -> Fetching podspec for `shared_preferences_foundation` from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/macos`
    -> Fetching podspec for `wakelock_macos` from `Flutter/ephemeral/.symlinks/plugins/wakelock_macos/macos`
    -> Fetching podspec for `window_manager` from `Flutter/ephemeral/.symlinks/plugins/window_manager/macos`

    Resolving dependencies of `Podfile`
      CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
    [!] CocoaPods could not find compatible versions for pod "media_kit_native_event_loop":
      In Podfile:
        media_kit_native_event_loop (from `Flutter/ephemeral/.symlinks/plugins/media_kit_native_event_loop/macos`)

    Specs satisfying the `media_kit_native_event_loop (from `Flutter/ephemeral/.symlinks/plugins/media_kit_native_event_loop/macos`)` dependency
    were found, but they required a higher minimum deployment target.

    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:317:in `raise_error_unless_state'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:299:in `block in unwind_for_conflict'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in `tap'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in `unwind_for_conflict'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:682:in `attempt_to_activate'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:94:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1078:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1076:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in `install!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:23:in `load'
    /usr/local/bin/pod:23:in `<main>'

Exception: Error running pod install

flutter doctor -v

[✓] Flutter (Channel stable, 3.7.11, on macOS 13.3.1 22E772610a darwin-x64, locale en-ES)
    • Flutter version 3.7.11 on channel stable at /Users/alberto/Sources/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f72efea43c (4 weeks ago), 2023-04-11 11:57:21 -0700
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.78.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.3.1 22E772610a darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.92

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Video crashing on linux, only audio is playing

Hello, I am getting this error

2 flutter: Fit is BoxFit.fill [00007fe9a803a840] prefetch stream error: cannot seek (to offset 20576829) [h264 @ 0x7fe9a8332b00] Invalid NAL unit size (1670 > 709). [h264 @ 0x7fe9a8332b00] Error splitting the input into NAL units. flutter: Duration is 0:00:30.030000

this is where im being sent as soon as the app launches:
image
image

I am using the code and the video link from the quick start page

Also, there is no documentation to implement custom icons and to remove the default overlays on the video,

Can m3u8 work properly on the web?

Can't m3u8 be used on the web? I want to use this component on Android, IOS, and the Web, but I see a prompt on the example indicating that it cannot be used under WEB!

Plugin huge size

Hello,

Testing on Windows 11. Flutter 3.3.10.
I've just built a release mode with raw flutter app.

flutter build windows --release

pubspec only:

dependencies:
  flutter:
    sdk: flutter
  flutter_meedu_videoplayer: ^3.0.3

The size of the plugins is over 120MB!! Are you aware of that?

meedu

Flutter doctor:

[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.22621.1105], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
[√] Android Studio (version 2021.2)
[√] VS Code, 64-bit edition (version 1.74.3)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

on setting forceLandScapeInFullscreen to true for first time is not working

Hello dear

I have this code

 final _meeduPlayerController = MeeduPlayerController(
    controlsStyle: ControlsStyle.secondary,
    fits: [BoxFit.contain],
    screenManager: ScreenManager(
      forceLandScapeInFullscreen: true,
    ),
    manageWakeLock: true,
    onVideoPlayerClosed: () => {},
  );

And for the first time when i press full screen button on the player it will not open in landscape its portrait but after I go back and then press full screen it will work and be in landScape

no podspec for macos

when running pod install i get

[!] No podspec found for `flutter_meedu_videoplayer` in `Flutter/ephemeral/.symlinks/plugins/flutter_meedu_videoplayer/macos`

seems like gitignore settings issue from the plugin side?

Error when displaying video playback screen with androidUseMediaKit set to true.

The following error occurred when displaying the video playback screen with androidUseMediaKit set to true.

When this error occurs, the video cannot be played.

Is there anything I can do?

pubspec.yaml

  flutter_meedu_videoplayer: ^4.2.3
  media_kit_libs_ios_video: ^1.0.4
  media_kit_libs_android_video: ^1.0.3

main.dart

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await initMeeduPlayer(iosUseMediaKit: true, androidUseMediaKit: true);
  );
}

Error & Stack trace

Error:
Null check operator used on a null value

Stack trace:
#0      VideoPlayerMediaKit.initStreams.<anonymous closure> (package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform_ffi.dart:146:58)
#1      _rootRunUnary (dart:async/zone.dart:1406:47)
#2      _CustomZone.runUnary (dart:async/zone.dart:1307:19)
#3      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1216:7)
#4      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#5      _DelayedData.perform (dart:async/stream_impl.dart:515:14)
#6      _PendingEvents.handleNext (dart:async/stream_impl.dart:620:11)
#7      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:591:7)
#8      _rootRun (dart:async/zone.dart:1390:47)
#9      _CustomZone.run (dart:async/zone.dart:1300:19)
#10     _CustomZone.runGuarded (dart:async/zone.dart:1208:7)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1248:23)
#12     _rootRun (dart:async/zone.dart:1398:13)
#13     _CustomZone.run (dart:async/zone.dart:1300:19)
#14     _CustomZone.runGuarded (dart:async/zone.dart:1208:7)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1248:23)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)

Flutter Doctor

[✓] Flutter (Channel stable, 3.7.12, on macOS 13.3.1 22E261 darwin-arm64, locale ja-JP)
    • Flutter version 3.7.12 on channel stable at /Users/yuyayamamura/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (2 weeks ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/yuyayamamura/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.77.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (4 available)
    • SH RM12 (mobile)            • 357983102288699           • android-arm64  • Android 11 (API 30)
    • bestriserのiPhoneXs (mobile) • 00008020-000325200A88002E • ios            • iOS 16.4.1 20E252
    • macOS (desktop)             • macos                     • darwin-arm64   • macOS 13.3.1 22E261 darwin-arm64
    • Chrome (web)                • chrome                    • web-javascript • Google Chrome 112.0.5615.137

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[Windows] multiple null-check exceptions after controller dispose

Greetings!
I began to use package on Windows and noticed that after closing the player (and disposing player controller) flutter debug console receiving multiple
currentVolume Null check operator used on a null value
The reason i found at controller.dart#1025

        _timerForGettingVolume?.cancel();
        _timerForGettingVolume =
            Timer.periodic(Duration(milliseconds: 250), (Timer t) async {
--->>      _timerForGettingVolume = null;
...

Loosing link to timer makes it stay in memory and continue ticking. And when disposing a controller we can't stop it because link was lost. Locally i've commented this line and exception diappeared; but i'm not quite shure what's going on at that method/timer and that's why i can't pull-request such "fix".

Thank you for useful package.

Release build fails

Flutter 3.7.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 7048ed95a5 (3 months ago) • 2023-02-01 09:07:31 -0800
Engine • revision 800594f1f4
Tools • Dart 2.19.1 • DevTools 2.20.1

Building the app in release mode apk or bundle fails with the this error

Dart snapshot generator failed with exit code -1073741819
Dart snapshot generator failed with exit code -1073741819
Dart snapshot generator failed with exit code -1073741819
Target android_aot_release_android-x64 failed: Exception: AOT snapshotter exited with code -1073741819
Target android_aot_release_android-arm failed: Exception: AOT snapshotter exited with code -1073741819
Target android_aot_release_android-arm64 failed: Exception: AOT snapshotter exited with code -1073741819


FAILURE: Build failed with an exception.

* Where:

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\Development\flutter\bin\flutter.bat'' finished with non-zero exit value 1

BUILD FAILED in 1m 55s

it only fails if i use the init function i have tracked the error down to the platform interface register function

 static void registerWith({MPVLogLevel logLevel = MPVLogLevel.none}) {
    VideoPlayerPlatform.instance = VideoPlayerMediaKit();
 }

but it still fails even if i didnt use the media kit library just having the init function in main with both media kit libraries set to false still it fails

Can the playback of m3u8 be easier?

I have looked at the play example code of m3u8, which is too complex. Can you consider encapsulating the playback code? For using a player, we should not consider too much processing [some may need customization?], perhaps we should consider using 'fluent'_ hls_ Parser 'or simply encapsulate the parsing into a function and call the play function directly??

assets video not playing on macOS

assets video not playing on macOS
please, check this issue
_meeduPlayerController.setDataSource(
DataSource(
type: DataSourceType.asset,
source: "assets/videos/sample1.mp4",
),
autoplay: true,
);

Mute control git source code is different than the one installed from pub dev "flutter_meedu_videoplayer: ^2.0.0"

This is correct in your git source code:

/// set the video player to mute or sound
  ///
  /// [enabled] if is true the video player is muted
  Future<void> setMute(bool enabled) async {
    if (enabled) {
      if (_videoPlayerController != null) {
        _volumeBeforeMute = _videoPlayerController!.value.volume;
      } else {
        _volumeBeforeMute = _videoPlayerControllerWindows!.general.volume;
      }
    }
    _mute.value = enabled;
    await this.setVolume(enabled ? 0 : _volumeBeforeMute);
  }

But when you install form pub dev:

dependencies:
flutter_meedu_videoplayer: ^2.0.0

you get this code installed:

/// set the video player to mute or sound
  ///
  /// [enabled] if is true the video player is muted
  Future<void> setMute(bool enabled) async {
    if (enabled) {
      _volumeBeforeMute = _videoPlayerController!.value.volume;
    }
    _mute.value = enabled;
    await this.setVolume(enabled ? 0 : _volumeBeforeMute);
  }

When you press mute control it is opened code (controller.dart) in line (974): _volumeBeforeMute = _videoPlayerController!.value.volume;

Hover the mouse in _videoPlayerController! visual studio shows that this is null.

The video stops, but the sound continues until the application is stopped.

the player crashes on windows 11

first i need to thank you for this great package

but i have tried the app on 3 different devices that is using windows 11 and the app crashed as soon as i opened the player

Android? systemUImode

Whenever the widget is present, it automatically hides statusbar and bottom bar.
Is there a way to disable that?

App dead freezes on linux with .m3u8 network url

When dispose() is called, I guess dart_vls is not properly disposed
any url with .m3u8 causes crashes
code example

import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter_meedu_videoplayer/meedu_player.dart';

class BasicExamplePage extends StatefulWidget {
  const BasicExamplePage({Key? key}) : super(key: key);

  @override
  _BasicExamplePageState createState() => _BasicExamplePageState();
}

class _BasicExamplePageState extends State<BasicExamplePage> {
  final _meeduPlayerController = MeeduPlayerController(
    controlsStyle: ControlsStyle.primary,
  );

  StreamSubscription? _playerEventSubs;

  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance.addPostFrameCallback((_) {
      _init();
    });
  }

  @override
  void dispose() {
    _playerEventSubs?.cancel();
    _meeduPlayerController.dispose();
    super.dispose();
  }

  _init() {
    _meeduPlayerController.setDataSource(
      DataSource(
        type: DataSourceType.network,
        source:
            "https://cloud.kodik-storage.com/useruploads/37065397-cf0c-4ea9-9269-718278450c77/8c5f1bd672a7c29b50209c3b5e5cc345:2023032820/360.mp4:hls:manifest.m3u8",
      ),
      autoplay: true,
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: SafeArea(
        child: AspectRatio(
          aspectRatio: 16 / 9,
          child: MeeduVideoPlayer(
            controller: _meeduPlayerController,
          ),
        ),
      ),
    );
  }
}
[h264 @ 0x7f5f500ceac0] get_buffer() failed
[h264 @ 0x7f5f500ceac0] thread_get_buffer() failed
[h264 @ 0x7f5f500ceac0] decode_slice_header error
[h264 @ 0x7f5f500ceac0] no frame!
[h264 @ 0x7f5f50012f80] get_buffer() failed
[h264 @ 0x7f5f50012f80] thread_get_buffer() failed
[h264 @ 0x7f5f50012f80] decode_slice_header error
[h264 @ 0x7f5f50012f80] no frame!

The "rewindAndfastForward" buttons do not respond on iOS and Android.

The "rewindAndfastForward" buttons do not respond on iOS and Android.

When I press the "rewindAndfastForward" button, the console displays the message "flutter: set tapped twice to false".

Is there anything I can do?

pubspec.yaml

  flutter_meedu_videoplayer: ^4.2.3
  media_kit_libs_ios_video: ^1.0.4

  ## TODO(yamamura): investigate the error when androidUseMediaKit is set to true and the video playback screen is displayed.
  ## media_kit_libs_android_video: ^1.0.3

main.dart

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  
  // TODO(yamamura): investigate the error when androidUseMediaKit is set to true and the video playback screen is displayed.
  await initMeeduPlayer(iosUseMediaKit: true, /* androidUseMediaKit: true */);
  );
}

Flutter Doctor

[✓] Flutter (Channel stable, 3.7.12, on macOS 13.3.1 22E261 darwin-arm64, locale ja-JP)
    • Flutter version 3.7.12 on channel stable at /Users/yuyayamamura/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (2 weeks ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/yuyayamamura/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.77.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (4 available)
    • SH RM12 (mobile)            • 357983102288699           • android-arm64  • Android 11 (API 30)
    • bestriserのiPhoneXs (mobile) • 00008020-000325200A88002E • ios            • iOS 16.4.1 20E252
    • macOS (desktop)             • macos                     • darwin-arm64   • macOS 13.3.1 22E261 darwin-arm64
    • Chrome (web)                • chrome                    • web-javascript • Google Chrome 112.0.5615.137

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Android with media_kit libmpv.so not found, web memory usage

I have tried running the latest version example, but there is an error under Android: E/Flutter (15191): [ERROR: Flutter/runtime/start_vm_initializer. cc (41)] Unhandled Exception: Exception: Cannot find libmpv. so. Please ensure its presence in the APK

Basic in Web version_ Network example error:

ERROR - 2023-05-09 15:33:40.320422

GET /flutter_ meedu_ videoplayer_ example/C:/b/s/w/ir/cache/builder/src/out/host_ debug/dart-sdk/lib/_ internal/js_ dev_ runtime/patch/core_ patch.dart

Error thrown by handler.

Invalid argument(s): Uri c:/b/s/w/ir/cache/builder/src/out/host_ debug/dart-sdk/lib/_ internal/js_ dev_ runtime/patch/core_ patch.dart must have scheme 'file:'.

There were no issues with the previous version. These two errors occurred when I was running the latest version of the example. I am not sure if it was due to abandoning kt and using Java. There is also an issue. During web version testing, I found that there was a noticeable lag in playing videos on the web after version 4.2.6. I checked the memory usage and found that the memory usage after version 4.2.6 was much larger than before!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.