OptionalaudioOptionalbitsOptionaldataA custom handler for the datavailable event.
Note: This is for advanced use-cases only. You probably don't need to modify the default handler.
the event
the callback that updates internal state
OptionalmimeOptionaltimesliceThe number of milliseconds to record into each Blob.
If this parameter isn't included, the entire media duration is recorded
into a single Blob unless the requestData() method is called to
obtain the Blob and trigger the creation of a new Blob into which
the media continues to be recorded.
Optionalvideo
Options for configuring the recorder. Extends MediaRecorderOptions.