UNPKG

@uppy/audio

Version:

Uppy plugin that records audio using the device’s microphone.

6 lines 323 B
export default function supportsMediaRecorder() { var _MediaRecorder$protot; /* eslint-disable compat/compat */ return typeof MediaRecorder === 'function' && typeof ((_MediaRecorder$protot = MediaRecorder.prototype) == null ? void 0 : _MediaRecorder$protot.start) === 'function'; /* eslint-enable compat/compat */ }