Add transcripts to your recordings

ashley Member, Daily Alumni

Using a custom VCS layout and live transcription, you can make sure those transcripts show up on the recorded stream using this code snippet:

callObject.on('app-message', (newText) => {
    if (msg.fromId === 'transcription' && {
            layout: {
                preset: "custom",
                composition_params: {
                    "showTextOverlay": true,
                    "text.content": newText

The docs here go into more granular detail.

Hope it helps someone!