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
ArgumentException boundary #99
Comments
I've figured out how to solve this. You shold add this method to your code:
And then you should call EnrollAsyncRedone(stream, profile); instead of client.EnrollAsync(stream, profile); - so the error will disappear. I've got EnrollAsync's source code from here: https://github.com/Microsoft/ProjectOxford-ClientSDK/blob/master/SpeakerRecognition/Windows/ClientLibrary/SpeakerVerificationServiceClient.cs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using the SpeakerRecognition API with the Nuget package Microsoft.ProjectOxford.SpeakerRecognition.
When I call the EnrollAsync method, passing a Stream with data from a wav file and a GUID of a user, I get an ArgumentException boundary. I use Xamarin.Android (Target Framework 7.0). This is from the Application Output:
[mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: boundary
With no more further details.
The code I use is:
await client.EnrollAsync(stream, profile);
Where stream is a MemoryStream with the file data and profile the GUID of my profile. The wav file that I generate is valid and according to the guidelines of the documentation.
The text was updated successfully, but these errors were encountered: