Some other comments here seem to indicate (at least in recent models?) that it's a visual indicator light on the phone that the camera/mic is being accessed. That might be sufficient, although I might also like a small audio cue on lock (or camera engage/disengage while locked).
Unfortunately, I doubt Android will ever be able to rely on a separate visual indicator of recording, since that's another hardware component and probably hard (if not impossible) for Android to enforce.
This seems like an area where regulations would be helpful. All persistently internet connected mobile devices with cameras must have one hardware activated status LED per camera, visible to the user. Same should go for microphones actually.
I remember in the old Nokia days and early android days when the camera shutter sound couldn’t be disabled (peeping Tom rules) adding an indicator similar to what webcams have could be possible heck you could potentially use the flash LED on its lowest setting.
Unfortunately, I doubt Android will ever be able to rely on a separate visual indicator of recording, since that's another hardware component and probably hard (if not impossible) for Android to enforce.