JavaScript API Fixes for the Recording Client
Fix ImprovementWe fixed several issues in the JavaScript Control and Events APIs of the recording client:
- FIX: the callback of
PipeSDK.insert()andPipeSDK.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()andcancelUpload(); - 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()andonSaveOk()now receive the audio codec of audio-only recordings in Chrome, instead ofundefined; - FIX:
getStreamName()returns an empty string when there is no stream name,getPlaybackTime()returns a number, andgetStreamTime()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