getMetadata method

@AvailableInWorkers("window_and_dedicated")

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

This includes information about the frame, including the audio encoding used, the synchronization source and contributing sources, and the sequence number (for incoming frames).

Implementation

external RTCEncodedAudioFrameMetadata getMetadata();