問題描述
我希望允許用戶直接從他們的網絡攝像頭錄制視頻.我沒有用 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 在我所知道的任何瀏覽器中,因此您最終將依賴于某種插件.我建議您使用 Adob??e 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模板網!