stopQVACProvider( )
Stops a running provider service and leaves the specified topic.
function stopQVACProvider(params: { topic: string }): PromiseParameters
| Name | Type | Required? | Description |
|---|---|---|---|
params | \{ topic: string \} | ✓ | An object containing the topic of the provider to stop |
| Field | Type | Required? | Description |
|---|---|---|---|
topic | string | ✓ | The Hyperswarm topic of the running provider to stop and leave |
Returns
PromiseThrows
| Error | When |
|---|---|
When the response type is not "stopProvide" or the request fails |
startQVACProvider( )
Starts a provider service that offers QVAC capabilities to remote peers. The provider's keypair can be controlled via the seed option or QVAC_HYPERSWARM_SEED environment variable.
textToSpeech( )
Converts text to speech audio using a loaded TTS model. Supports both streaming and buffered modes.