MobileChromeApps / mobile-chrome-apps

Chrome apps on Android and iOS
BSD 3-Clause "New" or "Revised" License
2.5k stars 348 forks source link

Audio API not working with Crosswalk #585

Closed danny-mark closed 8 years ago

danny-mark commented 8 years ago

Audio playback in a simple demo app does not work from

Running the app's code in mobile Chrome works fine.

We've tested on two different Android devices, versions 4.4 and 5. Packaging with 'cca run android --device'. Added permissions are RECORD_AUDIO, MODIFY_AUDIO_SETTINGS and CAPTURE_AUDIO_OUTPUT just in case.

agrieve commented 8 years ago

This is a sad known issue with android webviews :(.

A good work-around exists though - to use the webaudio api:

http://middleearmedia.com/web-audio-api-audio-buffer/