Use the OpenTok Live Captions API to enable real-time audio captioning for your OpenTok Sessions.
The REST APIs allow you to start, stop audio captioning for an OpenTok Session.
Use the OpenTok REST API to start live captions for a session. See the OpenTok REST API documentation.
You can also start live captions using the OpenTok server SDKs:
OpenTok.StartLiveCaptionsAsync()
OpenTok.startCaptions()
opentok.captions.start()
OpenTok.startCaptions()
Opentok->startArchive()
opentok.start_captions()
Use the OpenTok REST API to stop live captions for a session. See the OpenTok REST API documentation.
OpenTok.StopLiveCaptionsAsync()
OpenTok.stopCaptions()
opentok.captions.stop()
OpenTok.stopCaptions()
Opentok->stopArchive()
opentok.stop_captions()