Slow MP3 connect with Android 2.3 and above
I am using the latest version of XiiaLive Pro on several Android devices running Android versions 2.1, 2.2, 2.3 and 3.2. The stream I am connecting to is from my own Windows 2003 server using Proscan’s RadioFeed. I have also used Broadwave’s Streaming Audio Server with the same results. I am streaming a live police scanner from this URL: http://weather.dixonottawa.com:2002/RadioFeed.mp3
This works great with any Windows computer as well as the Android 2.1 and 2.2 devices. With Android 2.1 and 2.2 it will connect and start playing in just a few seconds. However on the Android 2.3 and 3.2 devices it buffers quickly to 99% and then sits there for approximately 90 seconds before it starts playing. I am sending Meta tags along with the audio that show the scanner channel that is being received. The Meta data is displayed almost instantly. With 90 seconds of delay in the audio stream it is difficult to see what scanner channel was being received at the time the audio reached the encoder.
I read in the forums that there is a similar problem with AAC streams on Android versions 2.3 and above with RTSP. Did Android break the MP3 as well? Are there any work arounds for this problem? Can I do anything on the server side that might help?
Unlike music listeners I am not concerned if there is an audio drop out occasionally. I have the XiiaLive buffers both set for 1000. I have tried using the XiiaLive internal stream engine. It never connects and says it is connecting then says it is disconnecting over and over.
Suggestions?
Antwoord
In regards to the metadata out of sync, we are about to release a new update that will always have the metadata sync'ed. This new release won't solve the startup long delay but will make it seem like it's not a problem... "think seek bar ;)"
The issue with AAC was mostly a proxy issue with devices... I haven't seen the same issue with streaming AAC with the start delay.
When using the internal engine what message do you see when it disconnects? Could you capture the device logs and send them to support@xiialive.com? This could help me see what could be causing the Internal stream engine to not be able to stream.
I got your email, thanks! I was able to test the URL youprovided and have a few suggestions for your server that might fix the issuesyou are having.
- To be able to start the stream faster could youset the initial connection burst of data really high?
- Remove/disable the icy-metadata on yourserver. This should allow it to streamusing the internal stream engine… Yes, bug on our side L. Next release we are doing an option todisable icy-metadata will be available.
I got your email, thanks! I was able to test the URL you provided and have a few suggestions for your server that might fix the issues you are having.
- To be able to start the stream faster could you set the initial connection burst of data really high on your server?
- Remove/disable the icy-metadata on yourserver. This should allow it to stream using the internal stream engine… Yes, bug on our side L. Next release we are adding an option to disable icy-metadata.
Customer support service by UserEcho
I got your email, thanks! I was able to test the URL you provided and have a few suggestions for your server that might fix the issues you are having.