Skip to content

Instantly share code, notes, and snippets.

@aylarov
Created December 16, 2016 13:31
Show Gist options
  • Save aylarov/c9bac90aa4addb0d54c50e5ce532bed6 to your computer and use it in GitHub Desktop.
Save aylarov/c9bac90aa4addb0d54c50e5ce532bed6 to your computer and use it in GitHub Desktop.
Voximplant ASR example #1: transcription
// Without using Recording, it will transcribe both channels and create txt with the dialog
call.record({
language: ASRLanguage.ENGLISH_US,
transcribe: true,
stereo: true
});
// With Recorder module, use it if you need to transcribe only one participant of the call
require(Modules.ASR);
var recorder = VoxEngine.createRecorder({
language: ASRLanguage.ENGLISH_US,
transcribe: true
});
call.sendMediaTo(recorder);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment