RealtimeTTSPlayerParameters
ElevenLabs.RealtimeTTSPlayer parameters. Can be passed as arguments to the ElevenLabs.createRealtimeTTSPlayer method.
Props
initializeConnectionParameters
initializeConnectionParameters: Object
Optional. Provide the parameters directly to the 'initializeConnection' method of ElevenLabs provider. Find more information in the documentation. Note: You should not pass the 'text', 'xi-api-key' and 'authorization' fields.
keepAlive
keepAlive: false
| undefined
| true
Optional. Whether to keep the connection alive after the timeout. The default value is true.
pathParameters
pathParameters: Object
Provide the parameters directly to the ElevenLabs provider. Find more information in the documentation.
queryParameters
queryParameters: Object
Provide the parameters directly to the ElevenLabs provider. Find more information in the documentation.
trace
trace: false
| undefined
| true
Optional. Whether to enable the tracing functionality. If tracing is enabled, an 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 only for diagnostic purposes.