Disable or enable captions. Only the host can call this function.
Get the current transcription language.
Get the current translation language.
Get the full records of live transcription. Usually the return value is an array type, when the number of records exceeds 100,000, it will be an Promise type.
Get the latest transcription message.
Get the latest translation message.
Get the live transcription status.
Set speaking language. Note:
Set translation language. Notes:
translatedSetting
from the getLiveTranscriptionStatus
to verify whether the language is in the supported list.Undefined is no translation.
Start live transcription.
zmClient.on('caption-message',(payload)=>{
console.log(`receive new transcription:${payload.text}`)
});
const lttClient = zmClient.getLiveTranscriptionClient();
lttClient.startLiveTranscription();
The client of live transcription.