From c865b70c4008370bde2502d76fb4523f25cef76f Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Fri, 21 Oct 2022 12:40:05 +0200 Subject: [PATCH] openvidu-browser: subscribeToSpeechToText param documentation --- openvidu-browser/src/OpenVidu/Session.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openvidu-browser/src/OpenVidu/Session.ts b/openvidu-browser/src/OpenVidu/Session.ts index 7833013c..ec05ab7d 100644 --- a/openvidu-browser/src/OpenVidu/Session.ts +++ b/openvidu-browser/src/OpenVidu/Session.ts @@ -648,6 +648,9 @@ export class Session extends EventDispatcher { * Subscribe to the Speech-To-Text events for this [[Stream]]. The Session object will emit [[SpeechToTextEvent]] for the Stream * when speech is detected in its audio track. * + * @param stream - The Stream for which you want to start receiving [[SpeechToTextEvent]]. + * @þaram lang - The language of the Stream's audio track. It must be a valid [BCP-47](https://tools.ietf.org/html/bcp47) language tag like "en-US" or "es-ES". + * * @returns A Promise (to which you can optionally subscribe to) that is resolved if the speech-to-text subscription * was successful and rejected with an Error object if not. */