java中的实时视频流

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26265382/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 02:07:11  来源:igfitidea点击:

Live video streaming in java

javavideojmf

提问by user3680660

I need to add live webcam video streaming facility to my web app where multiple clients can see live video.It's almost like a virtual classroom where the teacher will teach live and the students will watch.How can I broadcast live video in java .I have decided using spring framework for the application . Many seem to suggest xuggler or JMF, but I have not found any working examples of them yet. Can anyone please suggest which library to use and examples for the purpose ? Thanks in advance.

我需要将实时网络摄像头视频流工具添加到我的网络应用程序中,以便多个客户端可以看到实时视频。这几乎就像一个虚拟教室,老师将进行现场教学,学生将观看。如何在 Java 中播放实时视频。我有决定为应用程序使用 spring 框架。许多人似乎建议使用 xuggler 或 JMF,但我还没有找到它们的任何工作示例。任何人都可以建议使用哪个库和示例吗?提前致谢。

回答by vembutech

This question is already answered and the below link has the details. I would recommend "user3680660" to look into the answers provided.

这个问题已经回答了,下面的链接有详细信息。我会推荐“user3680660”来查看提供的答案。

Stream video in Java

在 Java 中流式传输视频

The link explains Xuggler and Amazon's cloud front.

该链接解释了 Xuggler 和亚马逊的云前沿。