Rate this page:

WebSocketAudioEncoding

Available audio encoding formats. Can be passed via the SendMediaParameters.encoding parameter. The default value is PCM8.

Constants

ALAW

Copy URL

A-law algorithm, 8kHz.

OPUS

Copy URL

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

PCM16

Copy URL

Pulse-code modulation, 16kHz.

PCM8

Copy URL

Pulse-code modulation, 8kHz.

ULAW

Copy URL

μ-law algorithm, 8kHz.