RealtimeTTSPlayerParameters
ElevenLabs.RealtimeTTSPlayer parameters. Can be passed as arguments to the ElevenLabs.createRealtimeTTSPlayer method.
Props
headers
Optional. HTTP request headers.
initializeConnectionParameters
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
Optional. Whether to keep the connection alive after the timeout. The default value is true.
pathParameters
Optional. Provide the parameters directly to the ElevenLabs provider. Find more information in the documentation.
queryParameters
Provide the parameters directly to the ElevenLabs provider. Find more information in the documentation.
trace
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. You can provide the trace file to our support team to help investigating issues.