[
https://issues.apache.org/jira/browse/CB-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923231#comment-13923231
]
David Mihalcik commented on CB-3835:
------------------------------------
I don't know how to fix the issue entirely - see the related issue #CB-3800 -
but lazily initializing the recorder field minimizes the impact. See here for a
patch:
https://github.com/dmihalcik/cordova-plugin-media/commit/641c8d7d585d11144e6507f3a320f1ebc16cb091
> AudioPlayer - Playing audio - Renaming error
> --------------------------------------------
>
> Key: CB-3835
> URL: https://issues.apache.org/jira/browse/CB-3835
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media
> Affects Versions: 2.7.0, 2.8.0, 2.9.0
> Environment: PhoneGap + jQuery Mobile 1.3.x + Android 2.3.x and higher
> Reporter: Joram Teusink
> Priority: Minor
> Labels: audioplayer, media, tmprecording.3gp
>
> When playing a media file (audio) from a url with AudioPlayer I get the
> following error in the console (logcat):
> - AudioPlayer : Send a onStatus update for the new seek
> - AudioPlayer : renaming /storage/emulated/0/tmprecording.3gp to
> /storage/emulated/0/http://...<rest of url>
> - AudioPlayer : FAILED renaming /storage/emulated/0/tmprecording.3gp to
> /storage/emulated/0/http://...<rest of url>
> The code is the same as in de demos in the PhoneGap docs.
> No errors in the app and playback works fine. And I noticed that in the root
> of the sdcard a tmprecording.3gp file was created. But did not see that one
> coming back after deletion.
--
This message was sent by Atlassian JIRA
(v6.2#6252)