[AC-5309] Android: Ti.Media.AudioPlayer/AudioRecorder
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-10-25T20:02:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Marian Kucharcik |
Assignee | Yordan Banev |
Created | 2017-10-25T06:31:20.000+0000 |
Updated | 2017-10-25T20:02:58.000+0000 |
Description
Hi guys,
I'm facing a problem.
When user taps and holds button(touchstart event), audioRecorder starts recording, when user untap button(touchend event), recording stops and audioPlayer should play that recording.
Problem is, that it's playing fine, but audioPlayer's complete event never fires and whole app will freeze and crash. It happens with Ti.Media.audioPlayer and Ti.Media.Sound on android
Can you please look at it?
Thanks
Hello [~max87], Thanks for sharing with us. Can you please share a sample test case to reproduce this on our end? Best
Hi @Mostafizur, try this, basic code:
[~max87], Thanks for your feedback. We are investigating the issue. In the meantime can you please test the sample code from [here](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media.AudioRecorder) and let us know how it goes.
Hi @Mostafizur of course I tried to implement code from docs... I realized, that rebooting my phone helped and now it's playing correctly(damn you, android :) ). I had some minor problems with recorder too, but I figured it out... Anyway, thanks for your help and have a nice day