Private dataPrivate durationPrivate isPrivate lastPrivate lastPrivate mediaProtected optionsPrivate Optional originalPrivate streamProtected subscriptionsPrivate timerProtected Optional wavesurferDo not call directly, only called by WavesSurfer internally
Private applyProtected emitEmit an event
Rest ...args: RecordPluginEvents[EventName]Subscribe to an event. Returns an unsubscribe function.
Optional options: { Optional once?: booleanSubscribe to an event. Returns an unsubscribe function.
Protected onSubscribe to an event only once
Subscribe to an event only once
Unsubscribe from an event
Static createCreate an instance of the Record plugin
Optional options: RecordPluginOptionsStatic getGet a list of available audio devices You can use this to get the device ID of the microphone to use with the startMic and startRecording methods Will return an empty array if the browser doesn't support the MediaDevices API or if the user has not granted access to the microphone You can ask for permission to the microphone by calling startMic
Generated using TypeDoc
Create an instance of the Record plugin