How to capture audio realtime in browser?

I’m interested in capturing audio from Google Meet calls and performing real-time transcription using an API within my browser extension app. While I’m aware of WebRTC as a potential solution, I’m still don’t understand how to implement it. Could someone provide guidance on how to utilize WebRTC for this purpose or something similar.

Please, bear with me and thanks in advance!!