Closed tolivestone closed 4 years ago
Hey @tolivestone,
Sorry my previous response wasn't sufficient. Could you try adding something similar to this line to your constructor, your componentDidMount
or inside of your sceneLoaded
function. You'd should be able modify it to automatically enable audio like:
sceneLoaded(sceneController) {
this.setState({
loading: false,
sceneController
});
XR.onSceneEvent('XXXXXX', 'AudioDisabled', () => XR.enableAudio('XXXXXX'));
XR.setMuted('XXXXX', false);
}
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems.
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels or Discussions for those types of questions.
I have implemented hands free solutions(followed steps given in the below link) in Sumerian and privately published via Amplify but it's not capturing audio. I see below error in console
AudioContext.js:36 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
https://docs.sumerian.amazonaws.com/articles/hands-free-voice-transcription/
I raised this before but did not get solution. (https://github.com/aws-amplify/amplify-js/issues/5946)
Config:
React Code
`
`