Dyte is a technology company specializing in real-time communication solutions. Our products are designed to enable seamless and efficient video interactions in various applications, ranging from virtual meetings to interactive live streaming. The offerings are known for their robust performance, scalability, and ease of integration.
This package provides plug and play transcriptions & translations.
This package uses AWS transcribe & AWS translate, which are paid services, provided by amazon.
Therefore, You must have an iam account in your main AWS (Amazon Web Services) account that can deploy the services.
Once done, download the key containing your accessKeyId, secretAccessKey from the iam account for local testing. For production, if deployed using serverless, you may not need any keys.
To keep things simple, in this repo, you will be asked to put keys in .env file. Please alter the code as per the security standards of your application.
Note: Without having accessKeyId & secretAccessKey, this repo may not work, locally.
- Go to server folder
cd server
- Replicate .env.example as .env
cp .env.example .env
Open the .env in your choice of Text File Editor and Edit it and Save it.
- Install packages
npm install
- Run the server
npm run dev
If sucessful, you would see the confirmation in Terminal that it is running on localhost:3001 or the PORT specified in the .env file.
- In a new terminal, go to the client folder from root of this repository
cd client
- Install packages
npm install
- Replicate .env.example as .env
cp .env.example .env
Modify port, if needed.
- Run the client
npm run dev
- Now go to browser and open localhost:3000 (Change this, if you have modified port in .env of client)
You would see the Dyte meeting loading on this page.
Turn the Mic on and Start Speaking in english (default language) and you should ideally start seeing transcriptions right away.
- Go through the client/demo/index.ts & server folder and take whatever is needed to integrate it in your product.
Note: Though this package takes the complexity away from you, We recommend that you put your own security practices & robustness around it and not treat these samples as production-grade copy-paste solutions.