通过 RTMP 共享用户桌面的 Java 解决方案
我正在开发一个网络项目,用户可以与其他用户共享他的屏幕和声卡的输出。我已经在 Adobe LCCS 服务 (http://www.adobe.com/devnet/flashplatform/services/collaboration.html) 方面取得了很大进展,但屏幕共享不够稳定,无法从用户的设备传输正在运行的视频。计算机 - 每 2 秒停止一次。
看来唯一的其他方法是使用 Java Applet。有几个库可以共享屏幕。我正在寻找一种捕获屏幕内容并通过 RTMP 将其流式传输到服务器的方法。
I'm working on a web project, where a user can share his screen and the output of his sound card with other users. I've come pretty far with the Adobe LCCS service (http://www.adobe.com/devnet/flashplatform/services/collaboration.html), but the screen sharing isn't stable enough to transmit a running video from the user's computer - it stops every 2 seconds.
It seems the only other way is to use a Java Applet. There are several libraries to share the screen. I'm looking for a way to capture the screen contents and stream it via RTMP to a server.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现了一个 Java Applet,它可以在一定的时间间隔内捕获定义区域的屏幕截图,将其编码到 ScreenVideo 编解码器中,并将其流式传输到支持 RTMP 的服务器: http://code.google.com/p/red5-screenshare/
I have found a Java Applet, which captures screen shots of a defined area in a certain interval, encodes it into the ScreenVideo codec and streams it to an RTMP capable server: http://code.google.com/p/red5-screenshare/