Cloud Speech V2 Client - Class AutoDetectDecodingConfig (1.19.1)

Reference documentation and code samples for the Cloud Speech V2 Client class AutoDetectDecodingConfig.

Automatically detected decoding parameters.

Supported for the following encodings:

  • WAV_LINEAR16: 16-bit signed little-endian PCM samples in a WAV container.
  • WAV_MULAW: 8-bit companded mulaw samples in a WAV container.
  • WAV_ALAW: 8-bit companded alaw samples in a WAV container.
  • RFC4867_5_AMR: AMR frames with an rfc4867.5 header.
  • RFC4867_5_AMRWB: AMR-WB frames with an rfc4867.5 header.
  • FLAC: FLAC frames in the "native FLAC" container format.
  • MP3: MPEG audio frames with optional (ignored) ID3 metadata.
  • OGG_OPUS: Opus audio frames in an Ogg container.
  • WEBM_OPUS: Opus audio frames in a WebM container.
  • MP4_AAC: AAC audio frames in an MP4 container.
  • M4A_AAC: AAC audio frames in an M4A container.
  • MOV_AAC: AAC audio frames in an MOV container.

Generated from protobuf message google.cloud.speech.v2.AutoDetectDecodingConfig

Namespace

Google \ Cloud \ Speech \ V2

Methods

__construct

Constructor.

Parameter
Name Description
data array

Optional. Data for populating the Message object.