[FEATURE REQUEST] Microphone access

Hello,

I have opened this feature request to allow microphone access requests in the Perspective apps.

Adding support for user-grantable mic access (whether through a native popup or trusted iframe context), would open up powerful use cases for intercoms, voice commands, and other audio-enabled functionality directly in Perspective views.

If you’d like to see this supported, please consider voting for the feature request.

Thanks!

Sounds familiar:

Basically, when we get WebRTC support, the microphone will be part of it.

Is that something that is already planned in an upcoming version? Or do you mean a custom module could handle that?

There are already experimental implementations, IIRC. Search this forum for WebRTC.

I see, though I don't think the implementations will work without the Perspective Workstation and Ignition Perspective apps handling the mic permission requests.

I as able to get mic input from a custom iframe module but this only works on a browser.
On the Workstation app I see errors indicating that there is no handler to request the permissions.

Furthermore, I unpacked the apk and saw the AndroidManifest.xml does not include the lines for the permissions:

    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>

So until the apps can request the permissions from the OS, the implementation of WebRTC and the like are limited to iframes in the browser.

1 Like