GitHub user schoetty opened a pull request:

    https://github.com/apache/cordova-plugin-media/pull/97

    CB-11314 android: avoid seeking on media without duration

    On Android >= 6.0, live streams do not start playing. This is because the 
`onPrepared` method of `AudioPlayer` invokes `seekTo`, what leads to an error 
because live streams have no duration and hence can not be seeked.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/schoetty/cordova-plugin-media master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-media/pull/97.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 #97
    
----
commit 131386125ab7913f53cd555063cde8c2d983cf25
Author: Stefan Schoettelndreyer <sschoettelndre...@codevise.de>
Date:   2016-05-24T14:19:44Z

    CB-11314: avoid seeking on media without duration

----


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

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

Reply via email to