Skip to content

Real Time Transcription

adamrangs edited this page Aug 8, 2022 · 1 revision

Real time transcription(RTT) can be received after enabling Webex Assistant(WXA) by the host of the meeting. The WXA can be enabled or disabled before or during a Webex meeting. By using RTT APIs, a host can also enable or disable the WXA.

NOTE: This api is available from SDK version 3.3.0-BETA onwards

Real time transcription API Examples

  1. To check if Webex Assistant is enabled

    var isEnabled = call.wxa.isEnabled
  2. To check if user can control Webex Assistant

    var canControl = call.wxa.canControlWXA 

    This API helps to check if user has the ability to enable or disable the Webex assistant.

  1. Enabling or disabling Webex Assistant

    call.wxa.enableWXA(isEnabled: isWXAEnabled, callback: { success in
                    print("setting WXA to: \(isWXAEnabled) operation returned: \(success)")
                })
  1. Registering a transcription arrived listener

    call.wxa.onTranscriptionArrived = { transcription in
        // ....
    }