cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim Biesbjerg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10849) cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS
Date Mon, 18 Apr 2016 19:59:25 GMT

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

Kim Biesbjerg commented on CB-10849:
------------------------------------

I also get an error.

To reproduce:
1) Start playing audio file
2) Media.release(), load and play another audio file.
3) Crash.

Sometimes it happens after first file, sometimes I can play 10 files, it seems to be random.

Here's the error from XCode:
----------------------------------------------
playing audio sample 'http://a200.phobos.apple.com/us/r1000/137/Music69/v4/ab/01/99/ab01995b-4c87-fc07-8c85-7d461b2cdfc6/mzaf_9166296509688222028.plus.aac.p.m4a'
2016-04-18 21:53:39.682 PortalShopApp[1484:842445] *** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a seek request with a completion
handler until its status is AVPlayerItemStatusReadyToPlay.'
*** First throw call stack:
(0x183216e38 0x18287bf80 0x1898d7820 0x1898c3f48 0x100127888 0x10013ee88 0x10013e734 0x183bde628
0x1831cd81c 0x1831cd4c0 0x1831cabd4 0x1830f4d10 0x1849dc088 0x1883c9f70 0x1000fbd7c 0x182c928b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 

I tried with cordova-plugin-media master branch.

Cordova CLI version: 6.1.1
Cordova iOS: 4.1.1

Do you need anything else from me?

> cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS 
> -----------------------------------------------------------------
>
>                 Key: CB-10849
>                 URL: https://issues.apache.org/jira/browse/CB-10849
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>    Affects Versions: 3.9.0
>         Environment: iPhone 4S with iOS 9.2.1
> latest X-Code and SDK Version
> Cordova 3.9.2
> cordova-plugin-media 2.2.0
>            Reporter: Ronny Schleicher
>              Labels: iOS, regression, triaged, wfc
>
> After updating to the cordova-plugin-media 2.2.0 it is no longer possible to play any
wav or mp3 files. It comes to a crash in the Objectiv-C code.
> To recreate the error:
> Play sound file 1
> Stop soundfile 1
> Play sound file 2
> Stop soundfile 2
> etc.
> crash ...
> With version 2.1.0, it works fine.
> {panel:title=callstack after crash in x-Code}
> 2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 'resources/sounds/sendingChatMessage.mp3'
> 2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & custom
rate
> 2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a seek request with a completion
handler until its status is AVPlayerItemStatusReadyToPlay.'
> First throw call stack:
> (0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 0x215bd7bd 0x20d73e1f
0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 0x24f54ba1 0x104683 0x20973873)
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {panel}



--
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


Mime
View raw message