我希望允许用户直接从他们的网络摄像头录制视频.我没有用 PHP 做过多少工作,但在这个项目中坚持使用它.我们目前有一个用于视频上传和编码的系统,但没有什么可以实际访问用户的网络摄像头.你会如何建议我继续?
I'd like to allow users to record videos directly from their webcam. I haven't done much work with PHP but am stuck with it for this project. We currently have a system in place for video uploading and encoding, but nothing to actually access a user's webcam. How would you recommend I proceed?
网络摄像头不适用于 HTML 或 JavaScript/DOM 在我所知道的任何浏览器中,因此您最终将依赖于某种插件.我建议您使用 Adobe Flash/Flex 开始搜索,尽管 Microsoft Silverlight 可能也能做同样的事情.Flex 是一种更可靠的技术,而且存在时间也更长,但微软正在向 Silverlight 投入大量资金,我预计它会在未来几年内得到根本性的改进.
Webcams aren't available to HTML or JavaScript/DOM in any browsers that I know of, so you're going to end up dependent on some sort of plugin. I'd recommend you start your search with Adobe Flash/Flex, though It's possible that Microsoft Silverlight is able to do the same thing. Flex is a bit more reliable technology and has been around longer, but Microsoft is pouring a ton of money into Silverlight, and I expect it to improve radically over the next few years.
这篇关于使用 PHP 访问用户的网络摄像头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!