Video Recording with javascript using User Media API
This repository provides an example implementation of video recording using the JavaScript getUserMedia API. It demonstrates how to access the user's camera and microphone, record video and audio streams, and save the recorded media locally.
Tested on Chrome, Firefox, Safari, Android, iPhone
Web browser with support for the getUserMedia API (Chrome, Firefox, or Edge). Basic knowledge of HTML, CSS, and JavaScript.
- Clone the repository or download the source code.
- Open the index.html file in a web browser.
- Grant permission to access the camera and microphone when prompted.
- Click the "Start Recording" button to begin recording.
- Perform the desired actions or movements in front of the camera.
- Click the "Stop Recording" button to stop the recording.
- The recorded video will be saved as a local file in the browser's default download location.
You can customize the recording parameters and file format by modifying the JavaScript code in video-record.js. Feel free to adjust the video resolution, frame rate, audio settings, and file format according to your requirements.
Contributing Contributions to this repository are welcome. If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.