I'm trying to find a way to capture all audio output from a page, be it a youtube video, or a silverlight movie, or an annoying banner ad.
My original idea was to inject javascript and html5 tags into the page, but that has proven fruitless for the most part.
One idea is to simply redirect the audio stream from the users speakers into the users microphone and record it that way.
I'm pretty much open to any approach for this, I realize it's very likely I'll have to write a plugin (this is after a rather exhaustive search for a method using HTML5 and javascript).
Has anyone tried something similar or could point me in a helpful direction? I'm thinking at this point digging into NPAPI might be helpful.