Android client keeps stopping despite enough bandwidth.
Hello! I have tried using the Android client for Subsonic 4.4. Despite having enough bandwidth songs keep skipping. I am currently transcoding to 128Kb and it keeps skipping despite me having double that in bandwidth.
I am fairly confident this is due to overly pessimistic buffering algorithms. For example, many songs stop after 2-3 seconds to display "Buffering 600KB" which in 128Kb is over 30 seconds into the song and should never stop playback when there is data left in the buffer.
Edit: I have also noted that FLAC songs, albeit transcoded still take forever to buffer. It basically does not even allow me to play 60 seconds of the song without forcing me to buffer it completely. This makes absolutely no sense since the song received is mp3, not flac.
Something interesting I noticed is that LAME only takes up about 10-20% CPU, is this by design? I have tried multiple LAME versions but always same result.
I am displaying below the bandwidth graph that causes skipping:
In the log I see:
Using Samsung Galaxy S, Android 2.2.1
Oh yes, I forgot the correct problem description:
Playback Application and version: Android client from market
Subsonic Version: 4.4 (build 2172) – February 6, 2011
Server Version: jetty-6.1.x, java 1.6.0_07, Windows 2003 (41.1 MB / 49.6 MB)
Hardware Platform: Windows Server 2003
Java Memory Limit: 100MB
I am fairly confident this is due to overly pessimistic buffering algorithms. For example, many songs stop after 2-3 seconds to display "Buffering 600KB" which in 128Kb is over 30 seconds into the song and should never stop playback when there is data left in the buffer.
Edit: I have also noted that FLAC songs, albeit transcoded still take forever to buffer. It basically does not even allow me to play 60 seconds of the song without forcing me to buffer it completely. This makes absolutely no sense since the song received is mp3, not flac.
Something interesting I noticed is that LAME only takes up about 10-20% CPU, is this by design? I have tried multiple LAME versions but always same result.
I am displaying below the bandwidth graph that causes skipping:
In the log I see:
- Code: Select all
[4/26/11 10:53:16 PM CEST] INFO PlaylistInputStream admin listening to "A-Teens - Pop Til You Drop\A-Teens - 05 - Hi And Goodbye.mp3"
[4/26/11 10:53:16 PM CEST] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\lame] [-S] [-h] [--resample] [44.1] [-b] [128] [--tt] [Hi And Goodbye] [--ta] [A-Teens] [--tl] [Pop 'Til You Drop!] [C:\Musik\A-Teens - Pop Til You Drop\A-Teens - 05 - Hi And Goodbye.mp3] [-]
Using Samsung Galaxy S, Android 2.2.1
Oh yes, I forgot the correct problem description:
Playback Application and version: Android client from market
Subsonic Version: 4.4 (build 2172) – February 6, 2011
Server Version: jetty-6.1.x, java 1.6.0_07, Windows 2003 (41.1 MB / 49.6 MB)
Hardware Platform: Windows Server 2003
Java Memory Limit: 100MB