Ruby on Rails capture webcam video and audio

对着背影说爱祢 提交于 2019-12-24 08:39:44

问题


Is there any gem out there that can interact with users webcam to capture video and audio and upload it to the server?


回答1:


Have you heard about navigator.getUserMedia()? That could the trick. More info: http://www.html5rocks.com/en/tutorials/getusermedia/intro/

They talk about it in the Mobile Web Development course in Udacity (lesson 10). https://www.youtube.com/watch?v=j6mzYt5fJpg




回答2:


Have you tried headshot ? I just tried it yesterday, but ran into some trouble with the flash player, not beeing able to set permissions for camera use try it out, its easy to add to your application, maybe you'll make it work. and better backup your files before.



来源:https://stackoverflow.com/questions/22205049/ruby-on-rails-capture-webcam-video-and-audio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!