Firebase.AI.LiveSessionVoiceActivity

A server message indicating that voice activity was detected in the audio stream.

Summary

Warning: This API is in Public Preview, which means that the feature is not subject to any SLA or deprecation policy and could change in backwards-incompatible ways.

Inheritance

Inherits from: Firebase.AI.ILiveSessionMessage

Public types

VoiceActivityType{
  Unspecified = 0,
  ActivityStart = 1,
  ActivityEnd = 2
}
enum
The type of server-detected voice activity signal.

Properties

AudioOffset
readonly TimeSpan
The time the activity was detected relative to the start of the audio stream.
Type
Whether user speech started or stopped.

Public types

VoiceActivityType

 Firebase::AI::LiveSessionVoiceActivity::VoiceActivityType

The type of server-detected voice activity signal.

Properties
ActivityEnd

End of user speech signal.

ActivityStart

Start of user speech signal.

Unspecified

Unspecified or unknown voice activity signal.

Properties

AudioOffset

readonly TimeSpan Firebase::AI::LiveSessionVoiceActivity::AudioOffset

The time the activity was detected relative to the start of the audio stream.

Type

readonly VoiceActivityType Firebase::AI::LiveSessionVoiceActivity::Type

Whether user speech started or stopped.