MrJai / flutter_to_airplay

Flutter plugin that offers two widgets, one to play a video for a given URL or file path using native AVPlayer and second with an option to airplay it on available Apple devices.
MIT License
30 stars 24 forks source link

Airplay stops if the app is in background #13

Closed pharshdev closed 3 years ago

pharshdev commented 3 years ago

If you go to home or switch to other app after starting airplay, the airplay stops. Shouldn't it continue and show a notification ideally?

MrJai commented 3 years ago

Please make sure you've enabled background audio capability for your project. As it is a native AVPlayer, so it should work normally without any interruption. Just make sure that your project supports background services.