Skip to content
Update User Terminal authored by Jan Janak's avatar Jan Janak
......@@ -250,3 +250,6 @@ To start streaming, send a HTTP GET to the API endpoint. The terminal will respo
* **format** - Sample format. One of u8, u-law, A-law, S16LE, S16BE, Float32LE, Float32BE, S32LE, S32BE, S24LE, S24BE, S24_32LE, S24_32BE. The default value is S16LE. Only u8 and S16LE can be used with stream type 'audio/wav'.
* **fragmentSize** - This parameter can be used to control the size of the data fragment, i.e., how often the audio subsystem wakes up the application. The value indirectly controls latency. Please note that the value is advisory only. The actual fragment size will be determined based on a variety of factors and can differ significantly (in both directions) from the value specified by the client.
```sh
curl -o speaker.wav http://<hostname>:<port>/audio/speaker?rate=8000&format=S16LE&fragmentSize=16000
```