Is there a way to only record audio with events using low level api?

I am trying to figure out a way in which I can record only the audio of participants with the timestamps of dominant speaker?

There is no builtin way to do this, you’d need to build it yourself.

For audio recording you could use the MediaRecorder API.