← All changelog entries

JavaScript API Fixes for the Recording Client

Fix Improvement

We fixed several issues in the JavaScript Control and Events APIs of the recording client:

  • FIX: the callback of PipeSDK.insert() and PipeSDK.onRecordersInserted() are now called also when the recorder can’t be shown (maintenance, closed account, recorder that could not be loaded). Such a recorder object has the event functions, remove() and cancelUpload();
  • FIX: an error thrown by one of your event functions no longer stops the recording client. The error is still shown in the browser console;
  • FIX: onCamAccess() is no longer triggered when no camera or microphone is found;
  • FIX: onUploadDone() and onSaveOk() now receive the audio codec of audio-only recordings in Chrome, instead of undefined;
  • FIX: getStreamName() returns an empty string when there is no stream name, getPlaybackTime() returns a number, and getStreamTime() returns 0 while the recorder shows an error, as documented.

The TypeScript types in the @addpipe/pipe-recording-client NPM package now include the parameters of onUploadDone(), getRecorderById(), replacePipeTag() and onRecordersInserted().

Build slug: 6334c6e54

NPM version: 1.0.16