EncodedAudioFrameInfo

Audio information after encoding.

export class EncodedAudioFrameInfo {
  
  codec?: AudioCodecType;
  
  sampleRateHz?: number;
  
  samplesPerChannel?: number;
  
  numberOfChannels?: number;
  
  advancedSettings?: EncodedAudioFrameAdvancedSettings;
  
  captureTimeMs?: number;
}

Attributes

codec
Audio Codec type: AudioCodecType.
sampleRateHz
Audio sample rate (Hz).
samplesPerChannel
The number of audio samples per channel.
numberOfChannels
The number of audio channels.
advancedSettings
This function is currently not supported.
captureTimeMs
The Unix timestamp (ms) for capturing the external encoded video frames.