Rolamix / cordova-plugin-playlist

🎶 A Cordova plugin for Android and iOS with native support for audio playlists, background support, and lock screen controls 🎶
MIT License
33 stars 33 forks source link

Play iPhone audio through default speaker when no devices connected #7

Closed robinbanbury closed 6 years ago

robinbanbury commented 6 years ago

Description

When no devices are connected, play audio through the default audio playback speakers (for iPhone 6, 7, 8 these are located at the bottom of the handset) rather than through the earpiece speaker, which is designed for taking calls and is much quieter.

Related Issue

6

Motivation and Context

iPhone playback should be through the speaker designed for audio playback

How Has This Been Tested?

Before and after test on a live device with multiple tracks

Screenshots (if appropriate):

None appropriate (audio playback!)

Types of changes

Checklist:

robinbanbury commented 6 years ago

@codinronan any chance you can have a look at this PR? The fix is quite simple, and it just allows the iPhone playback to be through the correct speakers.