Hello all, I am using Libcurl+nghttp2 to realize Voice playback function. but it will take long time in Voice interaction process.. When the recording is finished and then uses the curl to upload the voice file, could it be changed recording, upload at the same time? However, when used curl post transmission CURLFORM_CONTENTSLENGTH This value must be assigned in advance. Do you have any good suggestion? thank you very much.
/* post audio */
curl_formadd(&postFirst, &postLast, CURLFORM_COPYNAME, "audio",