aws-samples / amazon-sumerian-arkit-starter-app

A sample XCode project that demonstrates how to create a simple augmented reality experience using Apple's ARKit with the Amazon Sumerian service
Apache License 2.0
49 stars 27 forks source link

Microphone recording does not work on iOS #3

Closed sam598 closed 5 years ago

sam598 commented 6 years ago

The application never requests microphone permissions, so the "Start Microphone Recording" and "Stop Microphone Recording" actions are never called, and audio can not be sent to the Amazon Lex chatbot.

mike-starr commented 6 years ago

Thanks for catching this - we'll investigate.

suvratjain1995 commented 6 years ago

Hello @mike-starr , any update on this issue ? as I am facing the same issue while creating an interactive experience with host.

mike-starr commented 6 years ago

This looks to be a result of the WebRTC APIs (specifically https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) not being available from the WKWebView class the sample app uses to host the Sumerian scene.

liangyimingcom commented 6 years ago

The application never requests microphone permissions, so the "Start Microphone Recording" and "Stop Microphone Recording" actions are never called, and audio can not be sent to the Amazon Lex chatbot.

same issue for me.

mike-starr commented 5 years ago

Just to close the loop on this, it's currently not possible to record via microphone using WKWebView. If that changes, I'll update this issue, but closing for now.

https://forums.developer.apple.com/thread/88052 http://www.openradar.me/33571214