cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-8222) play media in background thread
Date Tue, 07 Jul 2015 07:44:04 GMT


ASF GitHub Bot commented on CB-8222:

Github user ghenry22 commented on the pull request:
    This resolves the same issue as PR #12, as that has been hanging for a LONG time I have
created a new pull request.
    The Jira ID for this issue is : CB-8222
    my jira login is ghenry22
    I have just completed the CLA and emailed it back so that should also not be an issue.
    This resolves the issue with the media plugin blocking the UI when loading media.  Especially
noticeable when loading from a URL as it will cause a long delay.
    Should resolve the "Media should use a background thread" warnings in Xcode as well as
they are tied to the time the plugin blocks to load media.

> play media in background thread
> -------------------------------
>                 Key: CB-8222
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Media
>    Affects Versions: 3.5.0
>         Environment: Xcode
> iOS
>            Reporter: Ralf Koch
>              Labels: performance
> Xcode gives a warning with in example the Media plugin playing a tiny mp3 file for taking
too long, even though it is about 50ms and recommends background thread which is actually
easy to implement.
> Could you guys do this or is there a reason not to?
> I would think it should be in the "CDVSound.m" --> "- (void)startPlayingAudio:(CDVInvokedUrlCommand*)command"
command, is this correct?
> Best regards
> Ralf

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message