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

Passing audio stream directly to DLS? #1792

Closed
theconvchamp opened this issue Oct 3, 2019 · 1 comment
Closed

Passing audio stream directly to DLS? #1792

theconvchamp opened this issue Oct 3, 2019 · 1 comment
Assignees
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Indicates that the team has replied to the issue reported by the customer. Do not delete. customer-reported Issue is created by anyone that is not a collaborator in the repository.

Comments

@theconvchamp
Copy link

theconvchamp commented Oct 3, 2019

I am trying to use Direct Line Speech (DLS) in my custom voice app (C# based). The Voice app has access to the audio streams which I want to (pcm encoded) it directly to Direct Line Speech.

From the DLS Client sample code (https://github.com/Azure-Samples/Cognitive-Services-Direct-Line-Speech-Client), I see that the method ListenOneAsync() in Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector namespace, but looks like it's capturing media from local microphone.

But looking at the reply here (https://stackoverflow.com/questions/56340032/is-new-ms-botbuilder-directline-speech-good-fit-for-call-center-scenario), it seems I can send the audio stream to the DLS directly. I can't seem to find any documentation around this.

I initially asked the same question in azure-docs repo and was redirected to ask the question here.

I saw similar issue being raised for node js sample, but I am looking for a solution for .NET SDK

@CoHealer CoHealer added Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Issue is created by anyone that is not a collaborator in the repository. labels Oct 3, 2019
@v-kydela
Copy link
Contributor

v-kydela commented Oct 3, 2019

Thanks for the question, @tellstoriesatbedtym

I'm going to close this issue for now so it can be addressed for a wider audience on Stack Overflow: https://stackoverflow.com/questions/58212779/how-to-pass-media-stream-to-the-direct-line-speech-endpoint

@v-kydela v-kydela closed this as completed Oct 3, 2019
@v-kydela v-kydela added the customer-replied-to Indicates that the team has replied to the issue reported by the customer. Do not delete. label Oct 3, 2019
This was referenced Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Indicates that the team has replied to the issue reported by the customer. Do not delete. customer-reported Issue is created by anyone that is not a collaborator in the repository.
Projects
None yet
Development

No branches or pull requests

3 participants