This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 641
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: