Azure Speech-to-Text web socket in Flutter - flutter

I am building a Flutter application and I want to integrate continuous Speech-to-Text recognition. For continuous recognition to work, I need to connect with Azure Speech-to-Text via web socket. I found a documentation for REST and for the SDKs (there is no SDK for Flutter). But not for web socket. How can I connect to Azure STT with a web socket?
I tried to open a web socket connection with this URL:
wss://<endpoint_url>/speech/recognition/continuous?language=<language_code>&format=<audio_format>&subscription-key=<subscription_key>

Related

Notifications on Flutter from a Django Server

I am developing a Flutter Application with Django Backend.
Our app has a feature to send notifications to user, which will be sent from the server.
I understood we need to build a stream for this.
But do we need external services to build our stream like getstream.io?
Or we can build our own stream using Django?

What does the application layer in IBM watson architecture mean?

I created android chatbot where my android app is the Interface directly communicating with the conversation workspace. There is no other application running in between my android app and conversation workspace. In IBM watson architecture there is the application layer in between the Interface and the conversation service. What exactly is the application layer and what is the use of this layer as my android app can directly communicate with the conversation workspace?
In the case you describe, your Android app is the application layer. It is driving the conversation, is processing the context variables and accessing other web services.
Introducing an application server to handle the calls to Conversation and other services could help improve security and scalability. You have one endpoint the Android apps connect to. There, identity and access management (IAM) could be handled. The Android app would be less suspicious because it only connects to one server / services, not to many. This is the reason why most apps are utilizing a backend server, i.e., the application server.

How to connect to a db on google cloud from mobile devices

I need to deploy a web app with its postgreSQL db on google cloud platform.
How can I connect to this db from mobile devices? I'm not allowed in this project to connect to db direct via mobile devices but via REST API.
So will I need to deploy also a REST API ex. in PHP, or Google Cloud has a REST API to access db from client devices?

ibm bluemix watson speech to text service

How to connect watson speech to text service to my bluemix app and after how can we configure service? I need full detailed speech to text service document how we can connect and use.
You can find a sample Bluemix application here:
link: Speech to Text Browser Application
It's a Node.js Application for the IBM Watson Speech-to-Text Service. You can run the app in Bluemix or local.
The landing page of the Watson STT service has pointers to all the resources including full documentation, sdks, sample code, etc:
https://www.ibm.com/watson/services/speech-to-text/
You can also take a look at this sample application using web sockets and Python STT using Web Sockets and Python.
Another good resource is the Speech Services Redbook. For more general kinds of technical information, there is a curated GitHub project called The Watson Landing Page with a curated set of links and information on the various Watson services.

What is the difference between Azure App Services API Apps and the Custom API of App Services Mobile Apps?

Azure App Services Mobile Apps can provide a Custom API hosting service which looks very similar to API Apps.
What is the real difference between the two?
Is it possible to consume Mobile Services from API Apps Node Backend ? Is there any Mobile Apps SDK available for NodeJS ?
https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-node-backend-how-to-use-server-sdk/
Azure API Apps is for hosting APIs that will be consumed from a variety of clients, and where it is acceptable to codegen a client, or make direct REST calls.
Azure Mobile Apps defines a client and server SDK with a protocol for communication that adds additional functionality for things such as offline sync. Offline sync is not possible with API apps, because there is no actual client SDK, just tools for generating one for different platforms.