VoxTTS
Classes
Functions
createRealtimeTTSPlayer
Creates a new VoxTTS.RealtimeTTSPlayer instance. You can attach media streams later via the VoxTTS.RealtimeTTSPlayer.sendMediaTo or VoxEngine.sendMediaBetween methods.
Parameters
Types
RealtimeTTSPlayerParameters
VoxTTS.RealtimeTTSPlayer parameters. Can be passed as arguments to the VoxTTS.createRealtimeTTSPlayer method.
optional
Optional. VoxTTS API key. Use your VoxTTS API key if you have your own.
Object to provide parameters directly to the VoxTTS provider Create Context message.
optional
Optional. Whether to enable the tracing functionality.
If tracing is enabled, a URL to the trace file appears in the ‘websocket.created’ message. The file contains all sent and received WebSocket messages in the plain text format. The file is uploaded to the S3 storage.
Note: Enable this only for diagnostic purposes.
Type aliases
CreateContextParameters
Parameters for creating a VoxTTS provider context. Passed via VoxTTS.RealtimeTTSPlayerParameters.createContextParameters.
VoxTTSSendParameters
Parameters for the VoxTTS.RealtimeTTSPlayer.send method.