Integrating Cloud Speech API with SmartExchange

Now that we have seen what can be done using Cloud Speech API, let's actually integrate this into SmartExchange. We will allow the users to post an audio response to a thread by recoding using WebRTC. This audio sample will then be sent to the Cloud Speech API to get the text. In this chapter, we are going to only print the text and let the users view/hear the audio sample. This example can be further extended, which I will talk about in Chapter 6Cloud Natural Language The final output of the uploaded audio and its contents will look as shown here:

So, let's get started with the implementation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.137.59