How to show avatar when video is off?

Hi, I am using lib-jitsi-meet to embed Jitsi (own deployment) in my react app. The conference and everything works well but if there’s no video of a participant, it shows black screen. I want to show avatar if the video is off (as Jitsi does).

  1. Is AUDIO_LEVEL_CHANGED the event used for the animation when someone is speaking (whose video is off)?
  2. What is the avatar that Jitsi shows? I mean is it a video or a gif or something else?

Any other tips/info on how to implement avatar function as I’ve no idea where even to start.

Thank you