Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2981] Audio Streaming Play takes 15+ seconds on Android

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2011-10-20T12:43:37.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio, Titanium SDK & CLI
Labelsandroid, createaudioplayer, mobile
ReporterBob Uehlein
AssigneePaul Dowsett
Created2011-08-28T10:10:30.000+0000
Updated2016-03-08T07:47:59.000+0000

Description

Looking at things in the Kitchen Sink with the sound_remote.js example. When using our MP3 stream (64k bit rate) it takes almost 20 seconds for the audio to start playing once you press the start button. Likewise... it is taking 20 seconds or so for the status message to change to stopped after hitting the stop button. This is mostly on my device tests (both HTC Inspire 4G and EVO 4G) both on WiFi Am I missing a way to speed this process up? preloading isn't available inside the CreateAudioPlayer function is it? I'm using Ti Studio with the latest released Mobile SDK. Thanks

Attachments

FileDateSize
app.js2011-12-08T07:28:19.000+00001753
sound_remote_url.js2011-12-08T07:29:06.000+00001831

Comments

  1. Anthony Decena 2011-10-20

    Thank you for raising this ticket. If this is still an issue, then we need all the information listed in the [Jira Ticket Checklist](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist) in order to accept a ticket. In this case, please specify the "latest release" versions that you are using and provide a complete use case for the issue. Once the ticket is complete, we can look into moving it to the main project. Thank you.
  2. Bob Uehlein 2011-10-20

    This ticket was opened with 1.7.3 being the mobile SDK and the nightly I believe was 1.8. Please reopen this ticket so this can be fixed.
  3. Bob Uehlein 2011-12-08

    app.js file from project
  4. Bob Uehlein 2011-12-08

    sound_remote_url.js (streaming part of the app here)
  5. Bob Uehlein 2011-12-08

    Tabs 2 3 and 4 are just empty files right now. Was getting the main part of the app (streaming) working before I worried about the easy parts
  6. Paul Dowsett 2012-02-17

    Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) to ensure that we can escalate it quickly. Read [How to Submit a Bug Report](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report) if you have not read it before, and always start a ticket using the [JIRA Ticket Template](https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template). Thanks in advance

JSON Source