{ "stream" : “primary” "url" : "http://<musicid_server/analyze?trx=83cf6049-b722-4c44-b92e-79a504ae8f85:1458580048400&codec=PCM_16_16K&deviceId=5082732351093257712", "duration" : 6 "captureMode" : “preCapture” } |
curl \-H "Content-Type: application/x-wav" \--trace-ascii debugdump.txt \--data-binary @AudioClip_6.wav '<media_service_url>&codec=PCM_16_16K&deviceId=<device ID>' |
Ensure that SDK support is enabled for audiocapture.
Note: the precaptured sample files have the following pattern: /opt/precap-*.wav.
The sound samples captured using capture next N seconds option will have the following filename pattern: /opt//opt/freshcap-*.wav.