new EncoderBase()
Called by a concrete encoder instance to initialize the inherited EncoderBase data structure.
Classes
Methods
-
async encode(audioData, opt encodingOptions) → {Promise.<Blob>}
-
Encodes the corresponding audio buffer, and returns a Blob containing the newly encoded data.
Parameters:
Name Type Attributes Description audioDataAudioBuffer AudioBuffer containing the data to encode
encodingOptionsObject <optional>
Optional encoding-specific options such as 'bitRate'
- See: