AudioData: close() method
WebCodecs APIwindowanddedicated
WebCodecs APIwindow_and_dedicated
The close() method of the AudioData interface clears all states and releases the reference to the media resource.
Syntax
close()
Parameters
None.
Return value
Undefined.
Examples
The following example shows the AudioData object being closed.
AudioData.close();