Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-2443

Streaming Audio is lagging on Galaxy S3...

    Details

      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();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mpmiranda Mauro Parra-Miranda
                Reporter:
                heenok heenok
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration