How to get the audio from the buffered part of streaming video?

Is there any way to extract the audio from the buffered part of a online streaming video at real time from web browser?

I would be very grateful if anyone could suggest me any document, library or anything related to this process. Thank you. :pray:

Hi there! Thank you or your question. This is not a GitHub related question so I suggest you use forums with a broader focus such as Stackoverflow.