Giter VIP home page Giter VIP logo

tristate-technology / flutter_audio_player Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 11.18 MB

Flutter audio player with native controller to manage audio in background. For android, implemented foreground service. This repository also demonstrate the native code bridge to flutter.

Kotlin 28.17% Swift 31.57% Objective-C 0.06% Dart 40.20%
audio-player flutter forground-service native-module-bridge exoplayer android ios

flutter_audio_player's Introduction

Flutter_Audio_Player

Flutter Audio Player with all the fuctionality to build your own custom music player!!

This repository involevs following functionality :-

  • Using Native Controlllers, you can play audio in the background mode,
  • You can fast forward or descrease the speed of the audio.
  • Use of native bridge allowes you to customise player on the go!

Flutter Audio player with native controller to manage audio in background. For android, implemented foreground service. This repository also demonstrate the native code bridge to flutter.

Android Pre Requirements :-

  1. Add Exoplayer dependencies in your app level build.gradle file

implementation 'com.google.android.exoplayer:exoplayer:2.9.6' implementation 'com.google.android.exoplayer:exoplayer-ui:2.9.6'

  1. Add following permissions in the AndroidMenifest.xml file :-

3.Register Service(PlayerService) in application tag of your AndroidMenifest.xml file :-

Ios Pre Requirements :-

1.Enable Background service in your project by turning on the "Background Modes" -> Audio, AirPlay, and Picture in Picture

Minimum iOS OS version require: 10.0

flutter_audio_player's People

Contributors

ankit-tristate avatar jaypalrana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flutter_audio_player's Issues

How to stop a music track and start new one ?

As I am adding a queue of music list to choose and when user clicks on it that music will be played.
But the issue is IOS lock screen music controller is not working.
Please guide and give some documentation.

2 urls

hi,
would it be possible to put 2 urls if how to do please

Lock Screen - Add Progress Bar control

I would love to see the feature to add the audio controls to the lock screen and to show playing seek bar control with the ability to change position in the audio.

Thank you.

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.