Parameter name | Type | Required | Description |
ReqId | String | Yes | A unique identifier for a single drive. Each segment of audio is assigned a UUID value. |
SessionId | String | Yes | Unique identifier for the session. |
Command | String | Yes | SEND_AUDIO; send the audio. |
Data | Yes | Data Object |
Name | Type | Required | Description |
Audio | string | Yes | The byte array of the original audio data, encoded into a string via Base64. Only supports: format-PCM, sampling rate-16kHz, sampling bit depth-16bits, audio track-mono. |
Seq | int | Yes | Audio packet sequence number, which must start from 1. |
IsFinal | bool | No | The default value is false. |
{"Header": {},"Payload": {"ReqId": "d7aa08da33dd4a662ad5be508c5b77cf","SessionId": "m123adfafvbadsafd","Command": "SEND_AUDIO","Data": {"Audio": "The value of the audio binary data encoded in Base64","Seq": 0,"IsFinal": false}}}
Was this page helpful?