AudioProfile defines settings for audio quality.

Constructors

  • Constructs an AudioProfile. If no audio bitrate is supplied then the AudioProfile does not adjust the browser's internal bitrate setting. If the enableAudioRedundancy flag is not supplied then the AudioProfile enables it by default.

    Parameters

    • audioBitrateBps: number = null
    • enableAudioRedundancy: boolean = true

    Returns AudioProfile

Properties

audioBitrateBps: number

Allows a builder to configure the opus encoder bitrate to be used for the session to send audio. If null, the browser internally sets a default bitrate.

Methods