[ 
https://issues.apache.org/jira/browse/CB-5474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser resolved CB-5474.
----------------------------

    Resolution: Duplicate

Duplicate of CB-4813

> sound playback problems with media plugin on Android KitKat (4.4)
> -----------------------------------------------------------------
>
>                 Key: CB-5474
>                 URL: https://issues.apache.org/jira/browse/CB-5474
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Media
>    Affects Versions: 3.1.0, 3.2.0
>         Environment: Android 4.4 on Nexus 5
>            Reporter: Frank Cox
>            Assignee: Joe Bowser
>
> I've developed a cross platform child's game with Cordova using the Media 
> plugin for sounds. The same code works on iOS (in the Apple app store as 
> "Hiding Hippos") and on Android in all tested versions including 2.6 on 
> Galaxy Player and 4.3 on Nexus 7 and 10. It does not work correctly on 
> Android 4.4 on Nexus 5. 
> I have multiple sound clips in single sound files and play each section with 
> code like this:
> function seekPlay (from, to) {
>     clearTimeout(t);
>     s.seekTo(from);
>     s.play();
>     t = setTimeout(function () {
>         s.pause();
>     }, to);
> }
> There can be up to three sounds playing at the same time using separate sound 
> files and copies of the above code. 
> On Android 4.4 KitKat with Cordova 3.1.0 or 3.2.0 there are several, erratic 
> sound issues. Some sounds may not play at all, cut off early or play too 
> long. After calling the seekPlay() function once or twice, sound settles down 
> and works correctly. However, there may be glitches again later in the game.
> As I said, the sound works correctly on all other tested Android and all 
> recent iOS versons.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to