These are some examples to test before using some recording API, not all the examples work in all browsers, there is the challenge.
- Install a server to serves web pages from a local folder over the network, using HTTP. Recommended Web Server for Chrome https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb
- Set the folder ./Record-Audios-and-Videos-with-getUserMedia as route for the Server Web for Chrome.
https://gersonrosales.github.io/Record-Audios-and-Videos-with-getUserMedia/