Note: This feature is available in Dedicated Web Workers.
The close() method of the VideoFrame interface clears all states and releases the reference to the media resource.
close()None.
Undefined.
The following example shows the VideoFrame object being closed.
VideoFrame.close();