You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesper Schultz (JIRA)" <ji...@apache.org> on 2014/10/26 09:13:33 UTC
[jira] [Updated] (CB-7874) Audio over bluetooth is unstable
[ https://issues.apache.org/jira/browse/CB-7874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesper Schultz updated CB-7874:
-------------------------------
Summary: Audio over bluetooth is unstable (was: Audio over bluetooth is instable)
> Audio over bluetooth is unstable
> --------------------------------
>
> Key: CB-7874
> URL: https://issues.apache.org/jira/browse/CB-7874
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, CordovaLib, iOS
> Affects Versions: 2.4.0, 3.5.0
> Reporter: Jesper Schultz
> Priority: Minor
>
> My Cordova/Javascript app plays mp3 audio files in a user customizable countdown sequence. This works as designed when playing directly on the smartphone, both Android and iOS.
> If bluetooth is enabled on the device and audio is output on an external speaker the sound is choppy. Some audio segments are cut off, others omitted entirely. The problem is present both on iOS and Android.
> The app is JS/CSS/HTML and can be run 'native' on a browser. When run on a Mac with bluetooth enabled, there is no problem.
> The problem has to do with Cordova and Bluetooth. With Cordova 'on', ie. running on a device outputting audio over BT, sound is unstable. Running w/o BT, there is no problem. Running on a laptop w/o Cordova there is no problem with or w/o BT enabled.
> When debugging the app running with device bluetooth enabled (ie sound via external speaker) LogCat registers that Bluetooth need permissions. It ought to be invisible to the app that the device has BT enabled, yes?
> (When the sound fails LogCat notes that it can not play because a audioplayer is not available.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org