Constructors
constructor
new Encoder( stream: MediaStream , audioContext: AudioContext , audioEncoder?: any ) : Encoder
Parameters
stream: MediaStream
audioContext: AudioContext
Default value audioEncoder: any = waveEncoder
Methods
ondataavailable
ondataavailable( ) : undefined
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
The Encoder reads audio data via an AudioContext and encodes it to a wav data format. The wav data can be then converted into a blob which can be used for playback.