Class: BadSampleRateError

soundproof. BadSampleRateError


new BadSampleRateError(message)

This error indicates that the recording sample rate at which the browser is recording is not supported by SoundProof. This sample rate is system determined and cannot be controlled or configured by the JavaScript code. The sample rates that are guaranteed to be compatible are 44100 Hz and 48000 Hz.
Parameters:
Name Type Description
message string Optional. Human-readable description of the error.
Properties:
Name Type Description
message string Error message.
name string Error name.

Extends