Bug in AdaptiveStreamingManager StartupBitrate

Topics: Windows 8 Xaml
Jul 30, 2015 at 7:56 AM
There's a bug in how the WinRT AdaptiveStreamingManager handles the StartupBitrate property. Specifically, in Universal.WinRT.AdaptiveStreaming.Helper\AdaptiveStreamingManager.cs, the UpdateSelectedTracks method does a GroupBy on the difference between actual and preferred bitrate if a preferred bitrate is passed in, and then the First item is taken from the grouped result. There needs to be a OrderBy here, otherwise we're not getting the track with the bitrate closest to the preferred value. In fact we're setting the highest possible StartupBitrate but playback still starts at the lowest at runtime.
Coordinator
Aug 3, 2015 at 2:09 PM
Please feel free to create a pull request. I will take a look at it as soon as possible.
Sep 14, 2015 at 1:20 PM
Done!