add buffer based rc

approved at: https://rbcommons.com/s/OpenH264/r/658/