Webex Meetings
Webex Meetings
Real-Time Transcriptions
Enable Real-Time Transcription (RTT) during Webex meetings using the Webex Assistant (WXA).
Hosts can activate or deactivate WXA before or during a meeting. With RTT SDK methods, users can control WXA to view live transcriptions.
RTT is available starting from SDK version 3.3.0.
anchorEnable Real-Time Transcriptions
anchorTo enabled real-time transcriptions:
Check to see if the Webex Assistant is enabled:
val isEnabled: Boolean = call.getWXA().isEnabled()
Verify that the user can control the Webex Assistant:
val canControl = call.getWXA().canControlWXA()
If the Webex Assistant is disabled, enable it:
call.getWXA().enableWXA(true /*true to enable otherwise false*/, CompletionHandler { result -> Log.d(TAG, "enableWXA callback: result ${result.isSuccessful} isEnabled ${result.data}") })
Register for transcription updates:
call.getWXA()?.setOnTranscriptionArrivedListener( object : WXA.OnTranscriptionArrivedListener { override fun onTranscriptionArrived(transcription: Transcription) { Log.d(TAG, "transcription: ${transcription.content} by ${transcription.personName}") } })