audioEncodedCodecType property

int audioEncodedCodecType
getter/setter pair
  • Description: The audio codec of the stream to publish.
  • Value: Valid values: 0 (LC-AAC); 1 (HE-AAC); 2 (HE-AACv2). Default: 0.
  • Note:
    • The audio sample rates supported by HE-AAC and HE-AACv2 are 48000, 44100, 32000, 24000, and 16000.
    • When HE-AACv2 is used, the output stream can only be dual-channel.

Implementation

int audioEncodedCodecType;