Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Unreal SDK

Vivox Unreal SDK

Vivox
​
​
Vivox Unreal SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
    • Set up your project
    • Unity Authentication Service in Unreal
    • Create voice and text channels
    • Messaging
    • Audio management
    • Muting
    • In-game moderation
    • Android app development
    • iOS app development
    • Server-side recording
    • Speech-to-text audio transcription
    • Text-to-speech
      • Text-to-speech voice options
      • Text-to-speech destinations
      • Inject a text-to-speech message
      • Queue a text-to-speech message
      • Cancel a text-to-speech message
      • Text-to-speech events
      • Get raw audio of synthesized speech
      • Use text-to-speech for incoming messages
    • Real-time recording
    • Transmission
    • Troubleshooting
  • Tutorials
  • Reference
  1. Vivox Unreal SDK documentation
  2. Text-to-speech

Text-to-Speech events

Learn about text-to-speech event callbacks.
Read time 1 minute
Last updated 8 months ago

The SDK can sometimes raise the following
ITextToSpeech
text-to-speech (TTS) events.
Note
You can bind to these events by using
ILoginSession::TTS()
.
  • EventPlaybackStarted
    - Raised when a TTS message has finished preparing for playback and is starting to play.
    • Message
      - The
      ITTSMessage
      that corresponds to this speech.
    • MessageDuration
      - The duration of the synthesized voice clip in seconds.
    • NumConsumers
      - The number of active sessions (for remote playback destinations) or local players (for local playback destinations), or both, that the TTS message was injected into.
  • EventPlaybackCompleted
    - Raised when a TTS message has finished playback.
    • Message
      - The
      ITTSMessage
      that corresponds to this speech.
    • NumConsumers
      - The number of active sessions (for remote playback destinations) or local players (for local playback destinations), or both, that the TTS message was injected into.
  • EventPlaybackFailed
    - Raised when playback of a TTS message has failed.
    • Message
      - The
      ITTSMessage
      that corresponds to this speech.
    • Status
      - The error code of the failure.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.


    Report a problem with this page