You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by ghenry22 <gi...@git.apache.org> on 2015/07/10 07:08:56 UTC

[GitHub] cordova-plugin-media pull request: iOS play audio in background

Github user ghenry22 commented on the pull request:

    https://github.com/apache/cordova-plugin-media/pull/12#issuecomment-120227841
  
    I've added a new pull request that backgrounds all media functions, this resolves all the "should use a background thread" warnings xcode that were occurring on play, pause, stop, create, seekTo, release, pretty much everything the user did with the plugin.
    
    It also resolves the UI being blocked while a file is loaded on play() (could be significant 10+ seconds when loading from a URL), resolves the same for all other actions which had much shorter delays usually less than 150ms but still worth cleaning up.
    
    I have also submitted and had my CLA approved so that this could finally be merged in.
    
    In the mean time anyone who needs this before it is merged you can just install the updated plugin from my fork:
    
    cordova plugin add https://github.com/ghenry22/cordova-plugin-media.git


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org