Determine buffer in a more sophisticated way

Bug #785505 reported by Andrew Fister
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Android Music
New
Undecided
Unassigned

Bug Description

I am experiencing frequent rebuffering events happening in succession, which I think may be improved by additional bitrate polling. This is while connected to wifi, so it's not a bad cell data connection.

Currently in your code, when a buffer task is started, the amount to buffer is calculated only once, before the buffering begins. Since you don't have support for sending variable quality streams yet, it might be worthwhile to poll the bitrate more often during the buffering phase and update the buffer size appropriately.

I don't know how robust the bitrate polling that you're using is, but it might even be worthwhile to keep tabs on the bitrate throughout the downloading of a song, and do some simple statistics so that the buffering is more efficient and we don't get as many interruptions. One longer interruption is better than multiple short interruptions, in my opinion.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.