Share via


Start and stop recording (Browser)

Dragon Medical SpeechKit responds internally and starts/stops recording when the user selects the record button on the speech bar (or on the Nuance PowerMic when the Nuance PowerMic Extension and Nuance PowerMic Adapter are installed).

You can also start and stop recording programatically:

  • To start recording, call the NUSA_startRecording() function. If recording is inactive, it will be started immediately; otherwise, this function does nothing and no exception is thrown.

  • To stop recording, call the NUSA_stopRecording() function. If recording is active, it will be stopped immediately; otherwise, this function does nothing and no exception is thrown.

  • To start or stop recording without tracking the recording state, call the NUSA_toggleRecording() function. If recording is stopped, it will be started immediately; otherwise, it will be stopped immediately.