Java:如何拦截视频和音频流?

发布于 2024-12-05 06:46:23 字数 118 浏览 0 评论 0原文

有没有任何 Java 库可以帮助拦截通过浏览器发送的视频和音频流?

例如,视频开始使用某些 Flash 服务器通过 Flash 播放器加载,Java 应用程序将侦听视频/音频流并捕获并将其写入磁盘上的视频。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

时光是把杀猪刀 2024-12-12 06:46:23

也许已经很晚了,但是Scince Google把我带到了这里,我会回答这个问题。

如果要“拦截”数据流,那么您可以越接近Charlesproxy:

”使开发人员能够在其机器和Internet之间查看所有HTTP和SSL / HTTPS流量的代理。

您将不得不使用浏览器配置来介绍,但应该解决问题。

这是一个痛苦,不知道这是否有帮助。

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.

扛起拖把扫天下 2024-12-12 06:46:23

是否有任何Java库可以帮助通过浏览器发送的视频和音频流?

简单的答案是否定的。

可能没有库中的库中的任何语言。 (我从未听说过的操作系统允许一个过程可以在另一个过程的插座级数据流​​上窃取。)

从理论上讲,您可以使用网络流量分析仪(例如Wireshark)进行此操作小姐的东西,结果将是损坏的视频 /音频流。

我认为唯一有机会可靠地工作的方法是修改浏览器和/或插件以捕获数据流。

Is there any Java library out there that can help intercept video and audio streams being sent through the browser?

The simple answer is no.

There is probably not a library to do it in any language. (No operating system I've ever heard of allows one process to snoop on the socket-level data streams of another process.)

In theory you could do this with a network traffic analyser (e.g. wireshark) but the chances are that you'd miss stuff and the result would be a corrupted video / audio stream.

The only approach that I think would have a chance of working reliably would be to modify the browser and/or the plugins to capture the data streams.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文