Dual BJT Constant Current Driver

The OP said this was for "lifi". But do we know if the LEDs here are 3+V white light, or lower Vf IR? If the latter, then with 5V power one solution might be to put two LEDs in series, at 500mA.