avplayer_audio_service 0.18.19+3
avplayer_audio_service: ^0.18.19+3 copied to clipboard
A customized audio_service fork with native Android notification custom-action support.
avplayer_audio_service #
A customized fork of audio_service for the AVPlayer media-session packages.
Included customization #
- Supports selected
MediaControl.customactions as native Android notification actions. - Uses
androidNativeNotificationAction: truein custom-action extras to opt into native Android 13+ notification card actions. - Bundles default media notification vector drawables (
ic_notification_favorite,ic_notification_favorite_border,ic_notif_prev_outline,ic_notif_play_outline,ic_notif_pause_outline,ic_notif_next_outline,ic_notif_placeholder,ic_notif_spacer,ic_default_artwork). - Preserves the Android 13 and newer media-control slot behavior required by
notification_media_session.
Installation #
dependencies:
avplayer_audio_service: ^0.18.19+3
Use the public audio_service API from this package to create and initialize an AudioHandler.
Companion packages #
avplayer_audio_service_winprovides the Windows system-media-session implementation.notification_media_sessionprovides the app-facing playback snapshot and notification bridge.
Upstream attribution #
This package is derived from the upstream audio_service project by Ryan Heise and contributors. The upstream MIT license and copyright notice are retained in LICENSE. Project-specific modifications are listed in FORK_NOTES.md.
License #
MIT. See LICENSE.