pls help! Azure speech SDK in android doesnt work!

国栋 卢 5 Reputation points
2024-10-09T07:39:05.9566667+00:00

The Azure voice service I am using in Unity works fine on Windows, and the voice recognition and integration are very useful. However, when I was developing the Android version, I encountered a lot of problems. Firstly, there was 0x15. I solved this problem because I did not obtain microphone permission. Therefore, I added permissions to AndroidManifest.xml and added the option to obtain permission if not available in the start method. Then I encountered the issue of error connectionFailure again, with the error detail being 'Connection failed' (no connection to the remote host) Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED。 wss://japaneast.stt.speech.microsoft.com/speech/universal/v2 , 2024/10/09 15:01:34.172 3241 3314 Info Unity X-ConnectId: e231b70728ef4771b16453f3e0d40809 SessionId: e231b70728ef4771b16453f3e0d40809..... Can you help me take a look at this issue? I am testing in China and QQ20241009-153818

using 'japaneast' as the node

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,981 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.