Created
December 16, 2016 13:31
-
-
Save aylarov/c9bac90aa4addb0d54c50e5ce532bed6 to your computer and use it in GitHub Desktop.
Voximplant ASR example #1: transcription
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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