Skip to content

This repository contains sample code to get started with Symbl's WebSocket API which provides the direct, fastest and most accurate of all other interfaces to push the audio stream in real-time, and get the results back as soon as they're available. The sample code makes a connection over websockets and streams audio through your microphone, to …

Notifications You must be signed in to change notification settings

SolaraWW/getting-started-websocket-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Websocket API

This is a sample implementation of Symbl's Websocket API. You can use this sample code to generate intelligent insights in realtime and integrate real-time capabilities within your applications.

Authentication

In order to use the SDK, you need a valid appId and appSecret which you can get by logging into Symbl Platform

npm

Before running the code, install all the dependencies by running npm install. For this sample code, you'll also need to install SoX - SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats.

Run

Make sure to configure the userId,name and auth_token parameters before running the code.

Once you've configured the above, run node index.js

Test

If you've configured everything correctly including SoX, you should be able to speak into your microphone and see the transcription as well any generated insights logging in your console.

References

Feel free to fork any of the projects here to use on your own and if you have any code improvements, make a pull request and the request will be reviewed by one of our admins.

For a sample reference implentation using Symbl, take a look at our Platform.

If you have questions, bugs to report or feature suggestions, join our Dev Community.

About

This repository contains sample code to get started with Symbl's WebSocket API which provides the direct, fastest and most accurate of all other interfaces to push the audio stream in real-time, and get the results back as soon as they're available. The sample code makes a connection over websockets and streams audio through your microphone, to …

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published