yu_ni_player_media_kit 1.0.3 copy "yu_ni_player_media_kit: ^1.0.3" to clipboard
yu_ni_player_media_kit: ^1.0.3 copied to clipboard

media_kit engine implementation for yu_ni_player, providing high-performance video playback on Linux.

yu_ni_player_media_kit #

media_kit engine implementation for yu_ni_player.

This package provides a MediaKitEngine implementation for the yu_ni_player unified API, enabling high-performance video playback powered by media_kit.

Support #

  • Primary engine for Linux.
  • Robust cross-platform support.

Installation #

Add to your pubspec.yaml:

dependencies:
  yu_ni_player_base: ^1.0.0
  yu_ni_player_media_kit: ^1.0.0
  media_kit: ^1.2.6
  media_kit_video: ^2.0.1
  media_kit_libs_video: ^1.0.7

Usage #

Register the engine during initialization:

import 'package:yu_ni_player_base/yu_ni_player_base.dart';
import 'package:yu_ni_player_media_kit/yu_ni_player_media_kit.dart';

void main() {
  YuNiPlayerPlugin.initialize(YuNiPlayerConfig(
    platformEngines: {
      PlatformKey.linux: (src) => MediaKitEngine(src),
    },
  ));
  runApp(MyApp());
}

For more details, please refer to the main repository: yu_ni_player

0
likes
145
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

media_kit engine implementation for yu_ni_player, providing high-performance video playback on Linux.

Homepage
Repository (GitHub)
View/report issues

Topics

#video #player #linux #media-kit

License

MIT (license)

Dependencies

flutter, media_kit, media_kit_libs_video, media_kit_video, yu_ni_player_base

More

Packages that depend on yu_ni_player_media_kit