transcribe
Transcribe the entire call in the background. Returns a
TranscribeAction that you can use
to stop the transcription or wait for it to complete.
The transcribe() method transcribes the whole call and resolves when it finishes.
For real-time transcription delivered as the call happens, see
liveTranscribe() instead.
This method emits calling.call.transcribe events. See Call Events for payload details.
Parameters
controlId
Custom control ID. Auto-generated if not provided.
statusUrl
URL to receive transcription status webhooks.
onCompleted
Callback invoked when transcription completes. The event carries the
recording’s url, duration, and size.
Returns
Promise<TranscribeAction> — An action handle
with stop() and wait() methods.