Cloud Speech V1 Client - Class OriginalMediaType (1.15.0)

Reference documentation and code samples for the Cloud Speech V1 Client class OriginalMediaType.

The original media the speech was recorded on.

Protobuf type google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType

Namespace

Google \ Cloud \ Speech \ V1 \ RecognitionMetadata

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

ORIGINAL_MEDIA_TYPE_UNSPECIFIED

Value: 0

Unknown original media type.

Generated from protobuf enum ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0;

AUDIO

Value: 1

The speech data is an audio recording.

Generated from protobuf enum AUDIO = 1;

VIDEO

Value: 2

The speech data originally recorded on a video.

Generated from protobuf enum VIDEO = 2;