I want to record audio using javascript and html5, there is a device element in html5, but I do not know how to use it. No examples were found for this.
There is no stable browser supported stream API (formally known as <device> ), so in practice, you cannot. The consequence of this is the lack of use cases.
<device>
If you want to play with it, you should use the Chrome development branches. Here is a demo version of voice input .
A quick search returned https://labs.ericsson.com/developer-community/blog/beyond-html5-audio-capture-web-browsers , which contains the device element that you mentioned.
device
There are currently three ways to do this.
wav
mp3
opus packets
node.js
Source: https://habr.com/ru/post/888532/More articles:File Usage: /// android_res / drawable / url works under eclipse, but not in production - androidSQL CE Deploy - AppHarbor - Unable to load SQL Server Compact native components - sql-server-cedidSelectRowAtIndexPath selecting multiple rows at a time - iosStrange behavior with response_with syntax for a Rails 3 application? - ruby | fooobar.comUITableView check marks - iphoneIs it possible to use System.Data.OracleClient even if it is deprecated? - oracleNew for REST API - restUITableView having problems replacing accessory when choosing - objective-cdrupal 7: page / panel manager and hook_node_view - drupalParse XML with Scala with a colon (:) inside an XML tag - xmlAll Articles