How can I stream progressive audio of live call on browser?

Hi, As now asterisk is more advanced, I believe there is some simple solution to stream audio of a live call on browser.
so please tell me How can I stream progressive audio of live call on browser?

What I have to do is:
I have to send the stream (of live call) to another server (eg named server2). The AI at server2 will understand and process the audio and return a response-audio that I will play on same call/channel for the caller to listen.

I am good at nodejs and asterisk both. Please guide me how can I solve this challenge. There is no good help on internet as of now.

Check out WebRTC and Asterisk integration, using a Conference Bridge.

Check out the External Media and ARI