[AC-2443] Streaming Audio is lagging on Galaxy S3...
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-04-02T23:58:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | Android, Audio, Audioplayer, Bean, Jelly, Streaming |
Reporter | heenok |
Assignee | Mauro Parra-Miranda |
Created | 2012-11-26T15:38:53.000+0000 |
Updated | 2016-03-08T07:41:29.000+0000 |
Description
*Problem description*
I work on radio app which plays stream audio. Everything work fine in Android 2.X and on devices like Galaxy S. However when i test on Android 4.1 (Jelly Bean) and Galaxy S3 for example, the audio is lagging (it start / stop 3 times in a row, then finally work for a while).
To be sure i tested the kitchensink demo on my Galaxy S3 (WIFI Connection), my colleague's S3 too, and it's the same problem.
All work fine on older devices.
*Test case*
var s = "http://broadcast.infomaniak.ch/deltafmdunkerque-high.mp3";
var sound = Ti.Media.createAudioPlayer({
url : s,
preload : true,
allowBackground : true
});
sound.format = Titanium.Media.AUDIO_FORMAT_AAC;
sound.addEventListener('error', function(e) {
if (e.message == "Unknown media error") {
alert("No");
}
});
sound.start();
Any Update on this ?
Cannot reproduce with Ti SDK 3.0.2 GA with Samsung Galaxy S3 Android 4.0.4, or Samsung Galaxy S2 Android 2.3.6. The audio plays fine without lagging. Please try the test case I added to the description.