cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghenry22 <>
Subject [GitHub] cordova-plugin-media pull request: Streaming & Background threadin...
Date Fri, 29 Jan 2016 09:00:32 GMT
Github user ghenry22 commented on the pull request:
    @imsingh where are you loading the m3u file from?  If you are opening the m3u file from
the local file system it will try to play it like a local file.  If you open it from a http
url then it will try to stream it.  This is just the logic in the media plugin, it looks at
the source prefix to determine if it should stream or play locally.
    If you haven't already done so I have a fork of the plugin here that you can install using
the command below, this fork has the updated ios streaming code from this pull request build
in.  If you install from here and you're m3u file is being loaded from a url that starts with
http or https you should see a message in the native console saying "playing stream with avplayer"
instead of the normal message you see which is tied to "avaudioplayer".  avaudioplayer is
the original implementation that does not support streaming, avplayer is the framework implemented
in this PR to add proper streaming support.
    cordova plugin add
    that's the best that I can think to recommend, hope it helps a bit!

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

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

View raw message