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

Concurrent Streaming #54

Open
ElishaMisoi opened this issue Jul 28, 2020 · 0 comments
Open

Concurrent Streaming #54

ElishaMisoi opened this issue Jul 28, 2020 · 0 comments

Comments

@ElishaMisoi
Copy link

I am trying to get the stream while recording is going on. I noticed that as much as the Audio Stream is growing, there's no event to notify when changes take place in the stream unless you keep manually checking the stream.

Also, I am having trouble writing to the WAV header while checking the stream.

Could you please share a sample or guide me in the right direction. I checked out the Xamarin.Cognitive.Speech sample but it does not fit my problem since the Library takes in the stream as well as the recordingTask for concurrent streaming to work.

The idea is to get the stream and send it to Azure while recording is still ongoing without using Xamarin.Cognitive.Speech since it does not return the audio response.

At the same time, I can't work with the Cognitive Service SDK out of the box since two processes cannot access the microphone at the same time and I also want to save both the recorded audio and the audio response from Azure.

Your help will be highly appreciated.

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