You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Lorin Beer (JIRA)" <ji...@apache.org> on 2013/04/02 15:45:23 UTC

[jira] [Resolved] (CB-1048) Media.play reloads media source on every call

     [ https://issues.apache.org/jira/browse/CB-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lorin Beer resolved CB-1048.
----------------------------

    Resolution: Fixed

fix was pulled in 6 months ago, issue left unclosed
                
> Media.play reloads media source on every call
> ---------------------------------------------
>
>                 Key: CB-1048
>                 URL: https://issues.apache.org/jira/browse/CB-1048
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.8.1
>            Reporter: Lorin Beer
>            Assignee: Lorin Beer
>            Priority: Minor
>              Labels: patch
>
> calls to media.play always reloads the source audio, regardless of whether the source actually has changed or not.
> Suggested fix is to modify the android implementation to test the incoming source string against the current source, and only load the media if a different media file is requested.
> 0
> This would eliminate the delay associated with streaming media after the first play through, for as long as the media object is not reset or gc'd

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira