Redirect audio and image stream/post to chat API


In essence, I want to integrate speech-to-text functionality currently implemented on jigasi but straight into jitsi-meet.

1- How can I extract the audio and video stream from each participant of the conference?

2- Is there any documentation about the Chat API?