[
https://issues.apache.org/jira/browse/CB-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213379#comment-15213379
]
arliweng commented on CB-3835:
------------------------------
i have same problem, when i c the code i just want ask: r u real programer?
the problem is: i just play something, not record action, so that file not
exist what u want rename?
as an progamer, that known create the audiorecord inside startRecording(String
file) if check its null, but for now just create in the construct, even just
want play some sound.. u may just move the
[code]this.recorder = new MediaRecorder();[/code]
from
https://github.com/apache/cordova-plugin-media/blob/master/src/android/AudioPlayer.java#L100
to
https://github.com/apache/cordova-plugin-media/blob/master/src/android/AudioPlayer.java#L142
BTW 1: hope the play mode have option, so can play via COMMUNICATION channel
not speaker, used for example: voip application
BTW 2: i type something here, and i press preview, now i c the content i have
post, but when i want to change that so i click cancel the page return here but
my content just disappeared.. so i type again and u known... >(=_=!)<
> 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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]