sofya.transcription
Version:
a JavaScript library that provides a robust and flexible solution for real-time audio transcription. It is designed to transcribe audio streams and can be easily integrated into web applications.
22 lines • 768 B
TypeScript
import EventEmitter from "events";
export interface ITranscriptionConfig {
language: SupportedLanguage;
}
export type SupportedLanguage = 'pt-BR' | 'en-US' | 'es-ES' | 'fr-FR' | 'de-DE';
export declare class ITranscriptionService extends EventEmitter {
/**
* Initializes the transcription service.
* @param {MediaStream} mediaStream - The media stream to transcribe.
*/
initialize(mediaStream: MediaStream): void;
/**
* Starts the transcription process.
* @param {MediaStream} mediaStream - The media stream to transcribe.
*/
startTranscription(mediaStream: MediaStream): void;
/**
* Stops the transcription process.
*/
stopTranscription(): void;
}
//# sourceMappingURL=ITranscriptionService.d.ts.map