The SmoothStreamingMediaElement (SSME) is a separate product made by Microsoft IIS/Azure team and is not open source. Their heuristics algorithm is part of the secret sauce.
You can however get some good info out of the SSME via tracelogs. The player framework provides some tools and libraries to analyze these trace logs to report on what is happening during playback. Check out the
health monitoring tool to see it in action.