Chatroulette 克隆 - 无需 Adob​​e 即可实现的方法?

发布于 2024-10-10 22:28:10 字数 81 浏览 7 评论 0原文

有没有办法在没有 Adob​​e 软件(Cirrus 和 Flash)的情况下制作像 Chatroulette 这样的网站?

如何?

Is there any way to make a site like Chatroulette without Adobe's software (Cirrus and Flash)?

How?

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

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

发布评论

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

评论(4

孤独难免 2024-10-17 22:28:10

不,因为这些是唯一与您的网络摄像头通信的服务。其他服务可以显示视频,但显然这两个元素都是必需的。

No, because those are the only services that talk to your webcam. Other services can display the video, but obv both elements are required.

贵在坚持 2024-10-17 22:28:10

这是 adobe 版本: http://demo.videosoftware.pro/svc/layouts /crc/VideoChat.html
还有另一个:http://www.jabbercam.com/chatroulette/

他们声称与红色5.红5=Java。第一个 videosoftware.pro/svc/ 是可能的

here is the adobe version: http://demo.videosoftware.pro/svc/layouts/crc/VideoChat.html
and another one here: http://www.jabbercam.com/chatroulette/

they claim to work with Red5. Red5=Java. It is possible with the first one videosoftware.pro/svc/

通知家属抬走 2024-10-17 22:28:10

您可以用开源 RTMFP 服务器 Cumulus 替换 Cirrus

You can replace Cirrus by Cumulus, an Open-Source RTMFP Server

相对绾红妆 2024-10-17 22:28:10

当然可以。您可以使用任何允许您实现安全插件或浏览器扩展的插件技术,这些插件或浏览器扩展将能够突破用户浏览器的安全沙箱,并使用 API 与连接的设备进行交互,例如访问某个设备的视频流。摄像头。

实现方法可以是(但不限于):

  • 使用 Java FX 或 Java Web Start 应用程序、
  • 使用 Silverlight 应用程序,
  • 甚至使用浏览器扩展(例如使用 Google Chrome 扩展的本机 API)。

问题并不在于找到一种有效的替代技术,而在于这些技术的普遍性(或缺乏)。 Flash 已成为事实上的用于实现复杂动画的软件,后来又成为复杂的浏览器内游戏或各种丰富的互联网应用程序 - 在 HTML5 时代之前!

因此,Flash 有大约 15 年的时间将自己定位为技术领导者,因为当时没有很多好的替代方案(Java Applet、ActiveX,嗯……),而我们现在有一些选择(如上面列出的)或许多 UI 效果转向 HTML5 和相关技术,Flash 仍然经常安装在许多平台上(如果您希望能够在线观看视频等,甚至曾经是、有时仍然是购买智能手机等硬件时的决策点) )。因此,Flash(和 Shockwave)或多或少是实现此目的的简单方法。

如果您想使用上面给出的前两个替代方案中的任何一个,您将遇到的问题是用户不太可能已经安装了该插件。总体而言,Java 比 Silverlight 更安全,至少如此(尤其是对于非 Windows 用户),但当用户访问您的 Web 应用程序时,它不太可能轻易安装。

最后一种选择有点时髦。它不仅要求用户访问您的网站,还要求安装具有访问本机 API 扩展权限的浏览器扩展。因此,他们不仅需要安装一些东西,还需要针对正确的浏览器进行定制。尽管如此,它仍然是一种替代方案。

我并不是说这些都是很好的选择,我只是说它绝对可以做到。

Of course you can. You can by using any plugin technology that will allow you to implement a secure plugin or browser extension that will be able break out of the security sandbox of the user's browser and to use APIs to interact with attached devices, like accessing the video streams of a webcam.

Ways of doing it could be (but not limited to):

  • with a Java FX or Java Web Start application,
  • with a Silverlight application,
  • or even with a browser extension (for instance using the Google Chrome Extensions' native APIs).

The problem is not really to find an alternative technology that works, but these technologies' ubiquity (or lack thereof). Flash has been the de-facto software to use to implement complex animations, and later a complex in-browser games, or Rich Internet Applications of various kinds - before the days of HTML5!

So Flash had about 15 years to set itself as the technology leader as there wasn't many good alternatives at the time (Java Applets, ActiveX, meh...), and while we now have a few options (as listed above) or turn towards HTML5 and related technologies for many UI effects, Flash is still often installed on many platforms (and even was and sometimes still is a decision-point when buying hardware like smartphones, if you want to be able to watch videos online and so forth). Thus, Flash (and Shockwave) were more or less the no-brainer approach to doing this.

If you want to use either of the first 2 alternatives given above, the problem you'll hit is that it's less likely that users will have already installed the plugin. Java is a safer bet than Silverlight overall though, at least(especially for non-Windows users), but it's less likely to be readily installed when the user visits your web-app.

The last alternative is a bit of a funky one. it would require users to not only visit your site, but to also install a browser extension with extended permissions to access native APIs. So they not only need to install something, it needs to be tailored for the right browser. Still, it is an alternative.

I'm not saying these are great options, I'm just saying it can definitely be done.

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