Adaptive Bit-rate optimization