Question
How can I access live transcription data from Zoom Web SDK (Component View)? I'm trying to access the live transcription that Zoom displays in the UI. I'm using the Component View
of the Zoom Web SDK, which exposes the caption-message
event via the API:
client.on('caption-message', (payload) => {
...
});
However, the event isn't returning any data even though I can see the transcription appearing in the Zoom UI.
Does anyone know how to access this transcription via the API or webhooks?
Answer
If you’re using the web transcription sdk and are listening for the caption-message
event
Looking at the guide and before you can listen to captions, you must have a separate license to use this feature. If you do not have a license, you will receive an error
Once you have the license and the feature enabled, you must initialize it with the client.getLiveTranscriptionClient
function
and then start the transcription like the following:
const liveTranscriptionTranslation = client.getLiveTranscriptionClient()
liveTranscriptionTranslation.startLiveTranscription().then(() => {
liveTranscriptionTranslation.setTranslationLanguage('ja')
liveTranscriptionTranslation.setSpeakingLanguage('ja')
})
Also don’t forget to disable it after you’re done with:
liveTranscriptionTranslation.disableCaptions()
With this, you should be able to listen to live meeting captions
An alternative would be to check out the Recall.ai API. It’s a 3rd-party API that lets you get recordings and transcripts with speaker names. Recall.ai allows you to get recordings and transcripts through our Meeting Bot API and Desktop Recording SDK.
Zoom Developer Forum Examples
Some examples of this question are: