WebSocketAudioEncoding

  • ALAW

    A-law algorithm, 8kHz.

  • OPUS

    Codec for audio/ogg and audio/opus MIME types, 48kHz.

  • PCM16

    Pulse-code modulation, 16kHz.

  • PCM8

    Pulse-code modulation, 8kHz.

  • ULAW

    μ-law algorithm, 8kHz.

Enum constants

ALAW

A-law algorithm, 8kHz.

OPUS

Codec for audio/ogg and audio/opus MIME types, 48kHz.

PCM16

Pulse-code modulation, 16kHz.

PCM8

Pulse-code modulation, 8kHz.

ULAW

μ-law algorithm, 8kHz.