{"repo":"chrisguttandin/extendable-media-recorder","free":true,"listed":false,"github":"https://github.com/chrisguttandin/extendable-media-recorder","clone":"git clone https://github.com/chrisguttandin/extendable-media-recorder.git","description":"An extendable drop-in replacement for the native MediaRecorder.","language":"JavaScript","stars":358,"topics":["audio","browser","web-audio"],"license":"MIT","category":"media-processing","readme_excerpt":"extendable-media-recorder An extendable drop-in replacement for the native MediaRecorder. This package provides (a part of) the MediaRecorder API as defined by the MediaStream Recording specification. If possible it will use the native implementation. In addition this package also allows to define custom encoders. Those encoders can be used to render files which are not supported by any browser so far. This does currently only work for audio encoders. Usage extendable-media-recorder is available on npm and can be installed as usual. It exports the MediaRecorder constructor. It can be used like the native implementation. The following example will use the default encoder that is defined by the browser. Using a custom encoder extendable-media-recorder also exports a register() function which can be used to define custom encoders. One predefined encoder is available as the extendable-media-recorder-wav-encoder package. It can be used as shown here. Setting the sample rate The MediaRecoder has no way to modify the sample rate directly. It uses the sampleRate of the given MediaStream . You can read the value being used like this: To modifiy the sample rate of the recording you need to change the sampleRate of the MediaStream . But that's not possible either. Therefore the most reliable way is to use an AudioContext at the desired sampleRate to do the resampling. Inner Workings Internally two different techniques are used to enable custom encoders. In Chrome the native MediaRecorde","default_branch":null,"files":null,"tree":[],"storefront":"/r/chrisguttandin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chrisguttandin/extendable-media-recorder/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}