[
https://issues.apache.org/jira/browse/CB-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413051#comment-13413051
]
Lorin Beer commented on CB-1048:
--------------------------------
fix implemented along with issue: https://issues.apache.org/jira/browse/CB-403
here is the pull request:
https://github.com/apache/incubator-cordova-android/pull/30
here is my fork:
https://github.com/doggerelverse/incubator-cordova-android
> 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: Joe Bowser
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira