Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

called on an uninitialized AudioRecord. #8

Open
githubca opened this issue Oct 4, 2017 · 0 comments
Open

called on an uninitialized AudioRecord. #8

githubca opened this issue Oct 4, 2017 · 0 comments

Comments

@githubca
Copy link

githubca commented Oct 4, 2017

Got this error when click 'Listen' button:
ApiAiSDK.AIServiceException: startRecording() called on an uninitialized AudioRecord. ---> Java.Lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
at Java.Interop.JniEnvironment+InstanceMethods.CallVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00069] in :0 at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0002a] in :0
at Android.Media.AudioRecord.StartRecording () [0x0000a] in <9663139ab15947a89e15a6bcd9621f68>:0
at ApiAi.Android.SpeaktoitRecognitionService.StartRecording () [0x0001d] in <686d17a8a1024a75a3fbc81e7e7a6ccd>:0
at ApiAi.Common.BaseSpeaktoitRecognitionService.StartListening () [0x00022] in <686d17a8a1024a75a3fbc81e7e7a6ccd>:0

Any idea why AudioRecord is uninitialized?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant