Default player stream regulator

Is there any functionality built in to kodi to automatically down / up grade the quality stream used when passed a link to an m3ua file with multiple qualities available based off the available bandwidth? Similar to what netflix does. From what I see it only plays the top quality available and instead of downgrading when needed it just buffers.