You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/10/28 01:15:33 UTC

[jira] [Commented] (CB-7874) Audio over bluetooth is unstable

    [ https://issues.apache.org/jira/browse/CB-7874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186099#comment-14186099 ] 

Shazron Abdullah commented on CB-7874:
--------------------------------------

How are you playing the file, Media plugin, or audio tag?

> 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' in a browser. When run on a Mac with bluetooth enabled, there is no problem.
> The problem has to do with Cordova vs. 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 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 an 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