用于网络摄像头录制的 Flash 库,封装在 JS 中?

发布于 2024-11-16 03:53:35 字数 361 浏览 10 评论 0原文

我们希望我们的用户能够从他们的网络摄像头上传视频流给我们。我们计划使用像 Infuxis 这样的服务来处理 Flash Media Server 端的事情,但我们需要一个客户端-side SWF 将进行实际捕获。

现在,我对 Flash 了解一点,但不是很多。理想情况下,我会使用包含在一系列 JS 函数中的 SWF,这些函数允许我在浏览器中控制该过程(例如 这个 jQuery 网络摄像头插件 - 但用于视频)。有谁知道吗?

We want our users to be able to upload video streams to us, from their webcams. We're planning on using a service like Infuxis to handle the Flash Media Server side of things, but we need a client-side SWF that'll do the actual capturing.

Now, I know a little Flash, but not a lot. Ideally, I'd use an SWF that comes wrapped in a series of JS functions that'll allow me to control the process from within the browser (like this jQuery webcam plugin- but for video). Does anyone know of any?

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

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

发布评论

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

评论(3

后来的我们 2024-11-23 03:53:35

您可以访问cameratag.com。它提供了一个JS API来控制Flash网络摄像头录像机。

You can check out cameratag.com. It provides a JS API for controlling a flash webcam recorder.

可爱咩 2024-11-23 03:53:35

HDFVR 是一款用 Flash 开发的商业视频录制产品(因此最终文件是 swf 文件),除其他功能外, - 拥有一组很棒的 JS 和服务器端 API:

  • JS 控制 API 允许您从 JS 控制 HDFVR
  • JS 回调 API 通知您有关 swf 中的事件(连接成功,上传完成)
  • PHP/ASP/.NET/等。服务器端API允许您将视频信息推送到数据库

http://hdfvr.com/api

HDFVR is a commercial video recording product developed in Flash (so the final file is a swf file) that - among other features - has a great set of JS and server side APIs:

  • JS control API allows you to control HDFVR from JS
  • JS callback API notifies you about events in the swf (connection succeeded, upload done)
  • PHP/ASP/.NET/etc. server side API allows you to push the video info to the db

http://hdfvr.com/api

天冷不及心凉 2024-11-23 03:53:35

Camaratag 不提供这样的选项,所以
您可以从 camaratag 下载 swf 文件并保存在本地文件夹中并在 camaratag js 中更改路径

 swfobject.embedSWF("local_path/camera.swf", dom_id+"_swf_placeholder", "100%", "100%", '11.1.0', 'https://'+appServer+'/'+CameraTag.version+'/expressInstall.swf', flashvars, params, attributes, checkSWF);

Camaratag don't provide such an option so
You can download swf file from camaratag and save in local folder and change path in camaratag js

 swfobject.embedSWF("local_path/camera.swf", dom_id+"_swf_placeholder", "100%", "100%", '11.1.0', 'https://'+appServer+'/'+CameraTag.version+'/expressInstall.swf', flashvars, params, attributes, checkSWF);
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文