You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/05/24 14:31:12 UTC

[jira] [Commented] (CB-11314) Live Streams are not playing on Android 6

    [ https://issues.apache.org/jira/browse/CB-11314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15298249#comment-15298249 ] 

ASF GitHub Bot commented on CB-11314:
-------------------------------------

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 <ss...@codevise.de>
Date:   2016-05-24T14:19:44Z

    CB-11314: avoid seeking on media without duration

----


> Live Streams are not playing on Android 6
> -----------------------------------------
>
>                 Key: CB-11314
>                 URL: https://issues.apache.org/jira/browse/CB-11314
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>         Environment: Android >= 6.0
>            Reporter: Stefan Schöttelndreyer
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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