@dytesdk/google-transcription
v1.0.5
Published
Package for audio transcriptions using Google Media Translation APIs.
Readme
Table of Contents
About The Project
This package provides audio transcriptions in various languages.
Built With
Getting Started
Prerequisites
- npm
- A backend server URL, running https://github.com/dyte-in/google-transcription/tree/main/server
Installation
npm i @dytesdk/google-transcriptionUsage
A speech object can be created using DyteGoogleSpeechRecognition class.
import DyteGoogleSpeechRecognition from '@dytesdk/google-transcription';
const speech = new DyteGoogleSpeechRecognition({
meeting,
target: 'hi',
source: 'en-US',
baseUrl: <backend-url>,
});
speech.on('transcription', async (data) => {
// ... do something with transcription
// console.log(speech.transcriptions);
});
speech.transcribe();
Contributing
We really appreciate contributions in the form of bug reports and feature suggestions. Help us make Dyte better with your valuable contributions on our forum 🙂.
License
All rights reserved. © Dyte Inc.
