Inject a text-to-speech message
Inject a text-to-speech message into Vivox channels.
Read time 1 minuteLast updated 2 days ago
To inject a text-to-speech (TTS) message into channel or local audio, use
ITextToSpeech::Speak()ITTSMessage *Message;TTSDestination Destination = TTSDestination::QueuedRemoteTransmissionWithLocalPlayback;MyLoginSession->TTS().Speak("Hello World!", Destination, &Message);
Speak()- The text to be converted into speech.
- The TTSDestination.
-
Optionally as an out parameter, a TTS message reference set to the newly created ITTSMessage, regardless of whether it is currently playing in the destination or is in a queue waiting to be synthesized.