Page 1 of 2

Android - Notice Bar and Stuttering

PostPosted: Tue Mar 30, 2010 8:08 pm
by blank
Greetings,

I'm using the Android client on a G1 running the latest version of CyanogenMod. When I first queue up music and begin streaming, the "Track Title" notice in the notification bar appears four or five times over the course of the first minute of the track. Each time it appears, it causes the music to stutter for a split second.

Needless to say, this is extremely irritating. :(

Any help would be wonderful. Thanks in advance.

PostPosted: Wed Mar 31, 2010 12:42 am
by blank
Tested it on a stock Cupcake install and it's reproducible.

PostPosted: Wed Mar 31, 2010 1:57 am
by dchadwick
Seems to happen on the Nexus One Running Cyanongen 5.0.3...


It almost looks like to me the stuttering is because the application isn't allowing enough time to buffer and its reaching the end of the buffer. Eventually it gets far enough behind the buffer that you don't stutter anymore.

PostPosted: Mon Apr 05, 2010 9:23 pm
by blank
It happens even on a track that's been fully downloaded to cache. It can't be a buffer issue.

PostPosted: Sun Apr 11, 2010 3:10 pm
by davester
I have the same issue. On HTC Desire it constantly wants to display the name of the track playing (not inthe player but in the syste notification bar - the please where you see NEW MAIL or DOWNLOAD COMPLETE messages) - but in doing so stutters the music.

The software is unuseable due to this...

I have other streaming software which doesnt send this information to the Android system and work fine - is it possible to disable this notification of song information to the system?

PostPosted: Mon Apr 19, 2010 12:45 am
by weav
Same issue here.. seems as though they could just allow us to toggle notifications on or off to eliminate the stuttering.

Hopefully they see this thread and check it out.

I am using an old ADP G1 on cyanogen's latest and greatest.

PostPosted: Sat Apr 24, 2010 3:41 pm
by skoot
I have the same problem on a Cliq running Android 2.0, no mods.

PostPosted: Sat Apr 24, 2010 7:17 pm
by purebishop
same problem on HTC hero running fresh2.0d (android 2.1)

PostPosted: Sat Apr 24, 2010 11:12 pm
by mjones73
Same problem here too, it's random but mid song it will display the song title on the notification bar and the music playback mutes momentarily when it happens. I'm on a Droid with CM 5.0.6.2.

I ran for the day after I set it up and it was fine, soon as I donated and registered my server, it started on the first song I played back, not sure if that's related or not.

PostPosted: Mon Apr 26, 2010 6:42 am
by sindre_mehus
Hi and sorry for the late reply.

I am aware of the stuttering and hope to fix it. However, it's not trivial. The notification is most likely a side effect, not the cause of the problem.

I'll try to explain what's going on: Let's say that you start playing when 500kB of the current track has been downloaded. The Android media player will then stop after 500kB have been played back, even if the file has grown to 1000kB in the mean time. Hence, I have to reopen and restart the player at the position it was. This takes a few milliseconds and causes the stutter (and also the notification).

For the next version I will at least make sure that the notification bar doesn't update when this happen.

Cheers,
Sindre

PostPosted: Sun May 02, 2010 7:35 pm
by sanda2801
Sindre,
First, many thanks for an excellent app! I was for long looking hard for a way to stream from my WHS media server to my HTC Hero with the features offered in SS before I stumbled over it.

However I am, like several others, very annoyed about the stuttering problem occurring several times during playback of non-cached files, first time usually after 7-8 secs. Stuttering sometimes even occur on cached music files. In worst cases player stops.

I really pray you will solve this issue asap, which then will result in an almost perfect app. for the purpose. I'm still in my trial but will not hesitate 1 sec to donate when prob is fixed. :P

Best, Sanda

PostPosted: Wed May 05, 2010 3:19 am
by amiantos
I really hope this is fixed! I do not understand why many streaming apps (including gmote) can stream music without this stuttering/pausing issue.

PostPosted: Thu May 06, 2010 6:48 pm
by wraithdu
amiantos wrote:I really hope this is fixed! I do not understand why many streaming apps (including gmote) can stream music without this stuttering/pausing issue.

Other apps stream, this app caches. So it is playing a downloaded file. As explained, when the initial playback 'end' of the file is reached, playback must be restarted from that point to wherever the file download has progressed at that moment. Rinse and repeat. I'm interested if Sindre can come up with a solution.

PostPosted: Thu May 06, 2010 6:57 pm
by amiantos
wraithdu wrote:
amiantos wrote:I really hope this is fixed! I do not understand why many streaming apps (including gmote) can stream music without this stuttering/pausing issue.

Other apps stream, this app caches. So it is playing a downloaded file. As explained, when the initial playback 'end' of the file is reached, playback must be restarted from that point to wherever the file download has progressed at that moment. Rinse and repeat. I'm interested if Sindre can come up with a solution.


I see. Perhaps he can check for more file a couple seconds before it runs out of file and seamlessly append it somehow...

PostPosted: Thu May 06, 2010 10:41 pm
by ootuoyetahi
sindre_mehus wrote:Hi and sorry for the late reply.

I am aware of the stuttering and hope to fix it. However, it's not trivial. The notification is most likely a side effect, not the cause of the problem.

I'll try to explain what's going on: Let's say that you start playing when 500kB of the current track has been downloaded. The Android media player will then stop after 500kB have been played back, even if the file has grown to 1000kB in the mean time. Hence, I have to reopen and restart the player at the position it was. This takes a few milliseconds and causes the stutter (and also the notification).

For the next version I will at least make sure that the notification bar doesn't update when this happen.

Cheers,
Sindre


Add SSL support and an exit button too! :D Any ETA on this new version?