question

DiegotheScotti avatar image
2 Votes"
DiegotheScotti asked AliHeikal answered

There is no explaination to “Enable Streaming Endpoint” checkbox, when should I enable it?

I was wandering through the settings of my Web App Bot on Azure to modify my messaging endpoint and I found the strange unexplanatory “Enable Streaming Endpoint” checkbox which got me confused whether I should enable it or not!

What should it be by default? And when should I enable it? Is it necessary?

I attached a screenshot below

10433-enable-streaming-endpoint.jpg



azure-bot-service
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AliHeikal avatar image
3 Votes"
AliHeikal answered

It is related to the Direct Line Speech channel, which is optimized for voice-in, voice-out interaction with bots.

Now to answer each of your question marks:

What should it be by default?

It should be unchecked.


And when should I enable it?

As stated in the documentation and I quote:

With the Direct Line Speech channel connected to your bot, you now need to enable Bot Framework Protocol Streaming Extensions support for optimal, low-latency interaction.

So you should enable it if and only if you're using the Direct Line Speech channel.


Is it necessary?

Yes and no.
Yes, if you're using the Direct Line Speech channel, then it is a must before you enable Web socket support.
No, if you're not using the Direct Line Speech channel, leave it unchecked as by default.


You can also find here how to use it in your bot!


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sashaeve avatar image
2 Votes"
sashaeve answered

"Enable Streaming Endpoint" is needed for Speech support. If you don't use Speech input, you don't need to enable this option.

More details are here: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-directlinespeech?view=azure-bot-service-4.0#enable-the-bot-framework-protocol-streaming-extensions

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.