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

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

Github user ghenry22 commented on the issue:

    https://github.com/apache/cordova-plugin-media/pull/97
  
    This is also a problem with MP3 files where android (for whatever reason) 
cannot read the duration of the file.  This could be some slight corruption to 
the file over time or it could be simply an encoding format that android 
doesn't like.  This is pretty well documented with people having to work around 
the same issue in native audioplayers that use the same underlying frameworks.
    
    I went insane trying to figure out why iOS would seek within a local file 
but Android intermittently wouldn't.
    
    I'm definitely going to give this PR a test!


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to