You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ronny Schleicher (JIRA)" <ji...@apache.org> on 2016/03/11 14:57:32 UTC

[jira] [Created] (CB-10849) cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS

Ronny Schleicher created CB-10849:
-------------------------------------

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


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.
With version 2.1.0, it works fine.

{panel:title=Callstack after chrash 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