Let WP7 use HttpConnection (HttpClient is still the default).
Be more careful about handling Dispose().
Trim() the user agent name.
Provide a way to discard pending packets.
Rework how WinRT's MediaStreamSource.OnStarting is handled.
-- Make sure to always call SetActualStartPosition().
-- Re-sync the audio and video streams if they are more than ResyncThreshold seconds apart (currently set to 7 seconds).
-- Don't get cranky if OnStarting is raised more than once.  (This happens normally after a pause.)
Undo brain damage from 5309a26a4558.
(Yes, I'm sitting in the corner with the Dunce cap firmly on my head.)
H264BitstreamExtensions' .ReadSe() had the sign wrong.
Add NalUnitType and use it to get rid of some magic constants.
Add CancellationTokenExtensions.
Reduce the chance of a null reference from race during shutdown.
Update SM.Media.Platform.Desktop to match recent changes.
This should get the console SimulatedPlayer running again.
Let HttpConnnection read files larger than 2GB.
Do some argument checking while we are here anyway.
Add missing .ConfigureAwait()s.
Default to using the parser when handling TS audio streams.
Add a CancelDisposeSafe() extension method for CancellationTokenSource.
Add a frame rate to IVideoConfigurationSource.
Add a VideoConfigurator base class for the H262 and H264 configurators.
Get rid of the unused IH264Configuration interface.
Don't cancel pending requests during seek.
Dump the actual audio stream descriptor properties.
Teach H264Bitstream to respect rbsp_trailing_bits().
Add ReadSignedBits() and ReadFfSum() to H264BitstreamExtensions.
Remove unused _streamTask.