A relay optimizer for multi-channel online media streaming