In my Java project, I am using a speech generation constructor like this:

However, I am receiving the following error:

After some investigation, I realized that ElevenNetworkUtil.FILE_RESULT_TYPES does not have the type "audio/pcm" which is the value that comes in the response.getEntity().getContentType() to the ElevenLabs request.
In my Java project, I am using a speech generation constructor like this:
However, I am receiving the following error:
After some investigation, I realized that ElevenNetworkUtil.FILE_RESULT_TYPES does not have the type "audio/pcm" which is the value that comes in the response.getEntity().getContentType() to the ElevenLabs request.