Optimizing video delivery on mobile networks