is there any Java library out there that can help intercept video and audio streams being sent through the browser?
So for example, a video starts loading through a flash player using some Flash server, the java application would listen for video/audio stream and capture and write it to video on the disk.
Maybe its to late, but scince google got me here I will answer this.
If you want to "Intercept" the data streams, the closer you can get to this is charlesproxy: http://www.charlesproxy.com/download/
which is a HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet.
You will have to play around with your browser configuration but it should do the trick.
its an aproach, dont know if this helps.