The fact that they used a hardware switch means they did it the right way.
By contrast my Logitech camera has a light to show when the camera is running - but the light can be disabled via their software which makes me uncomfortable with fully trusting the light.