getMetadata method

@AvailableInWorkers("window_and_dedicated")

The getMetadata() method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.

This includes information about the frame, including its size, video encoding, other frames needed to construct a full image, timestamp, and other information.

Implementation

external RTCEncodedVideoFrameMetadata getMetadata();