close method

void close()

@AvailableInWorkers("window_and_dedicated")

The close() method of the VideoFrame interface clears all states and releases the reference to the media resource.

Implementation

external void close();