getMetadata

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

MDN Reference