17
Views
8
Comments
Solved
[Azure Speech To Text] Issues on using the App on Mobile
Question
azure-speech-to-text
Mobile icon
Forge asset by Takasi Moriya
Application Type
Mobile
Service Studio Version
11.55.15 (Build 64075)

When I test the app using Browser (Google Play), it can record and translate correctly.

However, when I install in the mobile, I got below error:

error occurred during microphone initialization: NotReadableError: Could not start audio source

Please refer to the attachment


WhatsApp Image 2025-04-03 at 17.40.58.jpeg
2018-03-29 06-28-54
Takasi Moriya
 
MVP
Solution

It seems that the WebView of the native-built app doesn't fully support the Web API's media handling features. 
The Speech Service JavaScript SDK used in this component is based on the Web API. 
So, this component can be used only as a PWA or in a browser. 

Sorry for the inconvenience.

2025-12-04 09-01-03
Kiet Phan
Champion

I think the app doesn't not have permission to use Microphone that cause the error.

2025-02-24 07-31-27
Howard Law

Hi @Kiet Phan ,

I agree. However, I tried to request Permission for Android but it still does not work.

I use this plugin to request permission from Android: https://www.outsystems.com/forge/component-overview/2040/android-permissions-plugin-o11


However, it still show the same error. You can see from below Microphone Permission has been granted:

2025-04-14 11-22-14
Aditi Saraswat

Hi @Howard Law,

Allowing the app to access your device's microphone might help resolve the issue.

Thanks


2025-02-24 07-31-27
Howard Law

Hi @Aditi Saraswat ,

I agree. However, I tried to request Permission for Android but it still does not work.

I use this plugin to request permission from Android: https://www.outsystems.com/forge/component-overview/2040/android-permissions-plugin-o11


However, it still show the same error. You can see from below Microphone Permission has been granted:

2025-04-14 11-22-14
Aditi Saraswat


The native-built app's WebView seems to have restricted support for the Web API's media handling capabilities. Because the Speech Service JavaScript SDK depends on the Web API, this component can only function properly as a PWA or within a browser. 

2018-03-29 06-28-54
Takasi Moriya
 
MVP

I think you have installed the native build on your device. 
It seems that the microphone permission settings are different in the Android native build.
If you want to try, please use PWA or browser instead of the native build. 

I'm sorry, but I don't know much about the microphone permission settings in the Android native build.

2025-02-24 07-31-27
Howard Law

Yes Takasi Moriya, I am using the native build.

Even I enable the Microphone permission, I still got the error:

error occurred during microphone initialization: NotReadableError: Could not start audio source 


I want to use it in Native Android and iOS.

2018-03-29 06-28-54
Takasi Moriya
 
MVP
Solution

It seems that the WebView of the native-built app doesn't fully support the Web API's media handling features. 
The Speech Service JavaScript SDK used in this component is based on the Web API. 
So, this component can be used only as a PWA or in a browser. 

Sorry for the inconvenience.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.