[TIMOB-3124] Android: Cannot restart stream in AudioPlayer after stream is stopped.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-08T18:45:15.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Chris Brooks |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:37:30.000+0000 |
Updated | 2017-06-08T18:45:15.000+0000 |
Description
In android, if you stop an audioplayer stream and then start the stream again, the audio plays for a couple seconds (presumably what remains in the buffer) and then the audio stops.
This does not seem recoverable currently, you MUST quit the app and restart to get audio playing again.
There is a discussion http://developer.appcelerator.com/question/64781/audioplayer-streaming-mp3-in-android#120341" title="here">Here on how this problem is fixed in the Android SDK, exposing reset() and prepare() methods to Titanium.Media.audioPlayer should allow users to overcome this problem on Android.
Titanium SDK 1.5.1 and 1.6.0.RC1
Testing on Android 2.2
Thanks!
Forgot to add:
This occurs in Titanium SDK 1.5.1 and 1.6.0.RC1
Testing on Android 2.2
Closing ticket due to time passed and lack on input for the past 6 years. Any problems, please open a new ticket.