How to get live transcription and speaker with Meeting SDK

Description
I want to get Live Transcription and who spoken in real time on Japanese with Meeting SDK for Windows(C++) .
Looking at this reference, it says that it can be obtained by ltMsg and speaker_id respectively, but no matter what account you speak with, only the same value is entered for speaker_id (speaker_id is 2 anytime and anyone).

https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_closed_caption_controller_event.html#af21923a30ea93bc930ddc56a84620093

Questions

  1. Is speaker_id working?
  2. Are there other ways to identify the speaker of the transcription?

Which Windows Meeting SDK version?
Meeting SDK for Windows(C++) v.5.12.8

Screenshots
Get and show LiveTranscription with speakerID on my app with this code.

void MeetingInfoDialog::onLiveTranscriptionMsgReceived(const wchar_t* ltMsg, unsigned int speaker_id, ZOOM_SDK_NAMESPACE::SDKLiveTranscriptionOperationType type)
{
	switch (type)
	{
	case ZOOM_SDK_NAMESPACE::SDK_LiveTranscription_OperationType_Complete:
	{
		CString msg = L"";
		((CEdit*)GetDlgItem(IDC_EDITTranscription))->GetWindowText(msg);
		msg.AppendFormat(L"WHO:%d LT:%s\r\n", speaker_id, ltMsg);
		((CEdit*)GetDlgItem(IDC_EDITTranscription))->SetWindowTextW(msg);
	}
	break;
	default:
		break;
	}
}

And result…

Device (please complete the following information):

  • Device: DELL Vostro 5581
  • OS: Windows 10 Pro

Thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.