Class VoiceActivityTimeout (2.24.1)

VoiceActivityTimeout(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Events that a timeout can be set on for voice activity.

Attributes

NameDescription
speech_start_timeout google.protobuf.duration_pb2.Duration
Duration to timeout the stream if no speech begins. If this is set and no speech is detected in this duration at the start of the stream, the server will close the stream.
speech_end_timeout google.protobuf.duration_pb2.Duration
Duration to timeout the stream after speech ends. If this is set and no speech is detected in this duration after speech was detected, the server will close the stream.