Module livekit.plugins.did.types

Classes

class AudioConfig (sample_rate: int = 24000)
Expand source code
@dataclass
class AudioConfig:
    """Configuration for the audio sent to the D-ID avatar.

    Attributes:
        sample_rate: Sample rate in Hz. Supported values: 16000, 24000, 48000.
    """

    sample_rate: int = DEFAULT_SAMPLE_RATE

Configuration for the audio sent to the D-ID avatar.

Attributes

sample_rate
Sample rate in Hz. Supported values: 16000, 24000, 48000.

Instance variables

var sample_rate : int