You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

recordingResult.js 764B

12345678910111213141516171819202122
  1. /* eslint-disable max-params */
  2. /**
  3. * This object stores variables needed around the recording of an audio stream
  4. * and passing this recording along with additional information along to
  5. * different processes
  6. * @param blob the recording audio stream as a single blob
  7. * @param name the name of the person of the audio stream
  8. * @param startTime the time in UTC when recording of the audiostream started
  9. * @param wordArray the recorder audio stream transcribed as an array of Word
  10. * objects
  11. */
  12. const RecordingResult = function(blob, name, startTime, wordArray) {
  13. this.blob = blob;
  14. this.name = name;
  15. this.startTime = startTime;
  16. this.wordArray = wordArray;
  17. };
  18. /* eslint-enable max-params */
  19. module.exports = RecordingResult;