flutter_hls_audio_player 0.0.2 copy "flutter_hls_audio_player: ^0.0.2" to clipboard
flutter_hls_audio_player: ^0.0.2 copied to clipboard

outdated

This plugin streams audio from hls url works on both iOS and Android.

flutter_playout #

Audio & Video player in Flutter. This plugin provides audio/video playback with background audio support and lock screen controls for both iOS & Android.

  • Video only supports HLS at the moment for both iOS & Android.

  • Audio supports playback from URL only.

iOS Example

screenshot1 screenshot4 screenshot3

Android Example

screenshot5 screenshot6

Getting Started #

Android #

Uses ExoPlayer with PlatformView for Video playback and MediaPlayer for audio playback.

When using this plugin, please make sure you have included a notification icon for your project in drawable resource directory named ic_notification_icon. This plugin will use this icon to show lock screen controls for playback.

iOS #

Uses AVPlayer with PlatformView for video playback and AVPlayer with Flutter MethodChannels for audio playback.

Please make sure you've enabled background audio capability for your project. Please also note that the player might not function properly on a simulator.

Opt-in to the embedded views preview by adding a boolean property to the app's Info.plist file with the key io.flutter.embedded_views_preview and the value YES.

0
likes
0
pub points
0%
popularity

Publisher

verified publisherguruprasath.dev

This plugin streams audio from hls url works on both iOS and Android.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_hls_audio_player