To add the realtime audio transcriptions in a Dyte meeting you can use AWS Transcribe & AWS Translate services
These AWS services are paid, an AWS account is required to proceed.
This integration is Web only at the moment
Integration Steps
1. Setup AWS IAM account, get credentials​
To use AWS services, you should either be an IAM user, or your backend services should be deployed using roles & policies.
For ease of use, we are going ahead with IAM user credentials. Please ensure that the IAM user can actually use AWS transcribe & AWS translate services.
To proceed further, we need
accessKeyIdsecretAccessKey
2. Setup a Server​
Setup a server to forward the Audio Data from client to AWS Transcribe. You don't want to put your IAM credentials on client side and therefore need a server which forwards audio data to AWS
For this, we have provided the sample in NodeJS for you to checkout dyte-io/aws-transcribe. Currently, we only have an ExpressJS sample, if you working on a different backend, feel free to port this code or connect with us so that we can help you out in porting it.
To use this sample, Please clone this using the following command.
git clone git@github.com:dyte-io/aws-transcribe.git
2.1 Add your keys​
cp .env.example .env
Edit it as per your AWS service account credentials and Save it.
2.2 Run the server​
npm install
npm run dev
The HTTP endpoint where this server is accessible will now be called backend_url for remaining section of the guide
Frontend Setup​
3.1 Installation​
npm install @dytesdk/aws-transcribe
Source available at (dyte-io/aws-transcribe)(https://github.com/dyte-io/aws-transcribe/tree/main/client)