How to record video via webcam using javascript

I want to record videos through a webcam and upload them to a server. I don't want to use any plugin. How can I at least just record video.

+3


source to share


3 answers


There, the GitHub project is called RecordRTC . There's also a live demo here . This tool can work in browsers that support WebRTC and getUserMedia . It can record both audio and video.



However, according to the Can I Use data , currently WebRTC and getUserMedia are only supported by Firefox, Chrome and other blink browsers.

+2


source


Look here and here

It is said that this question has been asked multiple times:



+2


source


Use navigator.getUserMedia function .

Check out these URLs. Capture audio and video

+2


source







All Articles