On the benefits and caveats of exploiting quality on demand network APIs for video streaming