[
https://issues.apache.org/jira/browse/CB-10849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436976#comment-15436976
]
ASF subversion and git services commented on CB-10849:
------------------------------------------------------
Commit 948fe35979e9985cc0df3039eb51fae108a8605f in cordova-plugin-media's
branch refs/heads/master from [~alsorokin]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=948fe35 ]
CB-10849 (ios) Fixed a crash when playing soundfiles consecutively
> 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
> Security Level: Public(Anyone can view this level - this is the
> default.)
> 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
> Assignee: Alexander Sorokin
> 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: [email protected]
For additional commands, e-mail: [email protected]