npm
or yarn
for dependency managementnpm
or yarn
:
force_commit
behavior
— If force_commit
is set to true
, the SDK will call the commit API even if some audio files still fail to upload after retrying once.
— If force_commit
is set to false
, the SDK will wait until all audio files are uploaded successfully before making the commit request.
Error Code | Description |
---|---|
microphone | Microphone access error (permission denied or unavailable) |
txn_init_failed | Failed to initialize transaction |
txn_limit_exceeded | Maximum number of concurrent transactions exceeded |
unknown_error | An unknown or unclassified error occurred |
txn_stop_failed | Error occurred while stopping the transaction |
audio_upload_failed | Audio file upload to server failed |
txn_commit_failed | Commit call failed for the current transaction |
invalid_request | Request to SDK was malformed or missing required parameters |
vad_not_initialized | Voice activity detection engine was not initialized |
no_audio_capture | No audio was captured during the recording session |
txn_status_mismatch | Invalid operation due to mismatched transaction status |