GitHub user alsorokin opened a pull request:
https://github.com/apache/cordova-plugin-media/pull/108
CB-10849 (ios) Fixed a crash when playing soundfiles consecutively
<!--
Please make sure the checklist boxes are all checked before submitting the
PR. The checklist
is intended as a quick reference, for complete details please see our
Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
iOS
### What does this PR do?
Fixes a crash by ensuring that the avPlayer is in correct state before
invoking seekTo.
### What testing has been done on this change?
Bug reproduced and fix tested by running automatic tests on iPad 2 with iOS
8.1
### Checklist
- [x] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and
submitted to [email protected].
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [x] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [x] Added automated test coverage as appropriate for this change (already
covered)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alsorokin/cordova-plugin-media CB-10849
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-media/pull/108.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #108
----
commit f1528f4e0ab477086165479e9d7086608fbf760f
Author: Alexander Sorokin <[email protected]>
Date: 2016-08-22T13:43:20Z
CB-10849 (ios) Fixed a crash when playing soundfiles consecutively
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]