The purpose of this document is to present several ways in which the quality of music streaming can be measured in a quantitative way.
The benefit in continuously tracking these metrics is that we can measure the impact of improvements and and detect when we've done something wrong and broken the user's listening experience.
Measuring the time it takes from the moment the user requests playback until the audio starts. This is equal to the sum of the connection time and the initial buffer load time. See an example graph(1): 
The average number of stutters that happen when playing a track. This kind of graph gives us information about the percentage of tracks affected by stutter but also the amount of stutter. See an example graph(1): 
The average bitrate at which the track was listened(3). This is not a quality indicator per-se but can inform decisions about bitrate level thresholds.
Rebuffer time(2) equals the total amount of time spent during all rebuffer events. This time represents interruptions of the listening experience. With a properly configured serving system, rebuffer time should be zero.
Represents the ratio of the number of successful connections and the number of total attempted connections. The number of failed connections might be affected by retry mechanisms, for this reason one must be careful to retry a connection only when the Internet connection is available.
- http://www3.cs.stonybrook.edu/~phillipa/CSE390/spotify-p2p10.pdf
- http://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=64648
- https://www.akamai.com/us/en/multimedia/documents/technical-publication/video-stream-quality-impacts-viewer-behavior-inferring-causality-using-quasi-experimental-designs-technical-publication.pdf

