audioplayers_aurora

The Aurora implementation of audioplayers (used directly by gstreamer-1.0 without QT dependencies).

A Flutter plugin to play multiple simultaneously audio files.

Usage

This package is not an endorsed implementation of audioplayers. Therefore, you have to include audioplayers_aurora alongside audioplayers as dependencies in your pubspec.yaml file.

pubspec.yaml

dependencies:
  audioplayers: ^5.2.1
  audioplayers_aurora:
    git:
      url: https://gitlab.com/omprussia/flutter/flutter-community-plugins/audioplayers_aurora.git
      ref: aurora-0.5.2

*.desktop

Permissions=Audio

*.spec

%global __requires_exclude ^lib(gstreamer-1.0)\\.so.*$

BuildRequires: pkgconfig(gstreamer-1.0)

Attention!!! Don't forget to install Aurora PSDK gstreamer 1.0. This package is not installed by default in the Aurora SDK, but it is necessary to build the plugin. But gstreamer 1.0 is present in Aurora OS on devices.

*.dart

import 'package:audioplayers/audioplayers.dart';
// ...
final player = AudioPlayer();
await player.play(UrlSource('https://example.com/my-audio.wav'));