Changelog

Every update to the Pipe platform: new features, improvements and fixes.

Fixed false new device notifications in Safari; Enhanced readability for top message.

Fix Improvement

Previously, Safari triggered ondevicechange falsely when the embedded recording client was opened in a window, leading to false green notifications on the device selector buttons. These misleading indicators suggested new device connections, causing confusion. This issue has been addressed, and the device selector notifications now accurately reflect only real device connection and disconnection events.

The font size for the top messages shown by the recording client has been increased for improved readability. The messages were shown on choppy connections.

Accurate recording length in Safari; Improved Audio-Video Profile XML Loading.

Fix Improvement
  1. Previously, if Safari on macOS or iOS/iPadOS lost focus (minimized, moved to the background, etc.) while recording, the total recording length would sometimes be shorter than the actual duration of the recording. This issue has been resolved. Now, the recording length accurately reflects the actual duration.

  2. Previously, the audio-video profile XML was loaded only when clicking the [Record Video] button. This meant that, when clicking that button, both our client delivery and ingestion servers had to be online for the recorder to continue and build the UI. If the CD servers where inaccessible or if the user ran into XML file retrieval errors, the user would get a blank screen. This potential issue has been resolved by loading the audio-video profile XML earlier, together with the other files that must be loaded from the CD servers (precheck.php and the language .xml file). As a result, when clicking [Record Video], the recording client is only dependent on one set of servers (our ingestion servers). In the event of any issues with file retrieval, a clear error message “Error loading audio-video profile XML data.” will be shown.

Smaller Language Files; Correct value of recorderType in the JS APIs.

Improvement Fix
  1. 47 unused entries were removed from the language XML files (en.xml, de.xml, es.xml, fr.xml). Out of 93, only 46 remained. This change reduces the size of each language XML file by approximately 38.4%, equivalent to 1kb in file size. The more significant win is that our recording client is now a lot easier to translate.

  2. The value of recorderType passed with theonReadyToRecord() (for embed code 2.0) and onRecorderReady() (for embed code 1.3) functions has been changed to HTML5 to accurately reflect the recorder type. Previously, the value of recorderType was locked to webrtc, which was incorrect, since we do not use WebRTC. The documentation has also been checked as, a while a go, it contained erroneous values.

Device selector (camera & microphone) and 3 other updates

New

Our main recording client now has a device selector on both desktop devices and mobile devices.

device selector feature image.png

You can choose your desired camera and microphone from the list of available devices. It updates in real time with changes to the device list, it continues to show disconnected devices for 1 minute and there’s a loading animation for the delay between switching devices.

For more information check out the blog post.

Other updates:

  1. If there is no camera but there is a microphone, the recorder will switch to audio-only mode. This behavior was implemented a long time ago but now, if you connect a camera, the recorder will switch to video mode and if you remove the said camera, the recorder will switch back to audio-only mode.
  2. If there is no camera and no microphone, the recorder will display a proper message (“Connect a microphone or camera with microphone to record audio or video” instead of “You need a camera to record video”) and allow you to connect a camera or microphone, select it and record. Previously, the recorder would end up in a dead-end state.
  3. On Windows, if the camera is used by another app, the recording client will allow you to (connect and) select a different camera. Previously, the recorder would end up in a dead-end state.

2.0 embed code only.

Fixed issue with recordings made over bad connections getting stuck at "Uploading...100%""

Fix

Recordings that were started while the Pipe Desktop Recording Client was disconnected (but yet to be acknowledged by the recorder as disconnected) failed to resume correctly upon the recorder reconnecting.

This led to the Desktop Recording Client getting stuck at the ‘Uploading…100%’ message while the server discarded the sent data.

Now, the server correctly recognizes such instances, and the recordings will (correctly) resume upon reconnection. As a result, these recordings will be correctly saved and processed.

Removed BOM from 3 language XML files

Fix

We have removed the BOM (Byte Order Mark) from the beginning of 3 of our language XML files (en.xml, de.xml and fr.xml). The es.xml file did not have it.

This change fixes a very rare issue where the xml file would trigger a parse error in more strict XML parsing environments. We’ve seen the issue with an Ionic/Capacitor app trying to parse our en.xml file.

Custom language docs have also been updated with BOM and Content-type header recommendations.

Duplicate recording slice prevention

Fix

We’ve updated our server side code to detect and discard duplicate slices sent by our Pipe recorder.

Until now, this issue could’ve occurred whenever the Pipe recorder was disconnected and then reconnected during a recording.

Recordings that contained duplicate slices could’ve displayed some minor artifacts during playback, issue which is now fixed.

Fixed an issue with Connection Timeout blocking the Desktop Recording Client

Fix
  1. Fixed an issue with the (rare) connection_timeout error blocking the UI when received on all initial connection attempts to EU2 and on all but the 1st connection attempt towards US1 & US2.
  2. Fixed an issue with the (rare) connection_timeout error blocking the UI when received on one of the 30 re-connection attempts made when a connection to our ingestion/media servers is lost.
  3. Also improved the messages shown around re-connection attempts.

Support for 3GPP2 and MKV File Extensions

Fix

We’ve aligned the supported file extensions between our ingestion servers, the transcoding/processing servers and the documentation.

Our ingestion servers will now accept recordings with the 3GPP2 (.3gpp2) and MKV (.mkv) file extensions through the upload feature of the Desktop Recording Client and through the Mobile Native Recording Client.

Hotfix for onSaveOk and onUploadDone in the Desktop Recording Client

Fix Hotfix

Earlier today we’ve deployed a fix for the bug causing the onSaveOk and onUploadDone functions of the 2.0 JS Events API not to be called.

The problem affected our Desktop Recording Client on Safari and Firefox embedded using the 2.0 embed code when recording from the camera/microphone.

Recordings were uploaded, saved and processed by our platform. The issue was limited to calling these two 2.0 JS Events API functions.

The issue was introduced on Monday with this change (4th item).

UI and Error Handling Fixes in The Desktop Recording Client

Fix
  1. After finishing a recording, when autosave was on, the “Saving…” message only appeared for a split second. It now appears the whole time between “Uploading…100%” and “Saved”, providing continuous feedback for the upload and save process in the UI.
  2. In response to recent findings, it has been identified that errors sent by the server are not only of type Object, but also or type string. To accommodate this change, we have updated the error handling process to correctly display the error message in both cases.

Several Updates To The Recording Client

Improvement Fix
  1. The mrt (maximum recording time) parameter is now optional in the embed code 2.0. If it is missing or invalid it will default to 600 seconds.
  2. There were 2 unnecessary empty spaces in the Mobile Recording Client’s button label. These have been removed.
  3. The new playback indicator and some centered messages (like Saving…) were not shown in the right place in Safari 14(.4). We’ve fixed that.
  4. The values for audio codec, video codec, and file type sent by onSaveOk and onUploadDone now actually reflect reality. Until now, the values were hardcoded (Opus, VP8 and webm).
  5. We’ve improved the handling of some rare errors, providing a smoother and more reliable recording experience.

Fixed a 2nd "Unexpected error occurred"

Fix
  1. We’ve fixed an issue with the message “Unexpected error occurred” being shown by the Pipe Recording Client when it was opened in the (Chrome) Developer Tools’ mobile emulator. This was caused by an OverconstrainedError related to the exact keyword used on the facingMode constraint. On some browsers (Firefox) this happened only when the user clicked the top right flip button.
  2. Additionally, the specific constraint responsible for the error will be logged for easy troubleshooting.
  3. We had a report from one client that this happened on a real mobile device outside the Chrome Developer Tools’ mobile emulator, but we were unable to replicate it.

Seek functionality in playback mode

Improvement

We added seek functionality in playback mode for the (desktop) recording client delivered by embed code 2.0. This improves the playback experience by allowing the movement to a specific point in a recording by dragging across the progress bar or clicking the progress bar.

The seek functionality works on both desktop and mobile devices (when using the desktop recorder inline on iOS or Android). On mobile, it works by dragging or clicking across the entire lower half of the recorder.

Fixed "Unexpected error occurred" on Chrome on Android

Fix

On older Android devices, if our inline desktop recorder was configured to record at a high resolution (720p or higher), you’d get an “Unexpected error occurred” error in recent versions of Chrome when clicking the red record button.

This issue is now fixed.

On such devices, we’re now falling back to VP8 video encoding instead of the more resource-intensive H.264.

2.0 build code is now part of pipe.js

New

The build code (git commit slug for the master branch) is now part of the 2.0 pipe.js.

It will be logged to the web developer console together with the build date and will be sent to our precheck script.

This will allow you to understand what build you’re using, what build is currently live and when was the last build.

It will allow us to understand what builds are out there in the wild.

Slight change to how the 2.0 HTML code inserts the recorder into the page

Improvement

Previously, with the 2.0 HTML code, the recording client was inserted using a newly created <div> element with an id attribute matching the id of the <piperecorder> tag.

This was problematic because:

  1. you ended up with 2 HTML elements with the same id on the page
  2. any width/height properties on the initial <piperecorder> tag would take up space separate from the space occupied by the actual recording client. This made any effort to avoid layout shift impossible.

We are now inserting the recording client HTML code directly inside the <piperecorder> tag.

This is how the HTML structure looked previously after insertion:

<div id="custom-id">
    <div id="pipeRecordRTC-custom-id"></div>
</div>
<piperecorder id="custom-id">

This is how it looks now:

<piperecorder id="custom-id">
    <div id="pipeRecordRTC-custom-id"></div>
</piperecorder>

The 2.0 JS insertion mechanism remains unchanged as it is similar to the new 2.0 HTML mechanism.

A documentation article on how to avoid layout shift will also be available soon.

None option for ACL in S3 integration

Improvement

The push to S3 integration has been updated to support a None ACL option. The new option is visible in the dashboard S3 storage section under Canned ACL.

New Amazon S3 buckets and Google Cloud Storage buckets now have ACLs disabled by default. For such buckets GCS needed the None option. Without it would throw the following error:

Cannot insert legacy ACL for an object when uniform bucket-level access is enabled. Read more at https://cloud.google.com/storage/docs/uniform-bucket-level-access

le: None is now the value selected by default in the drop down.

Minified pipe.js

New

A minified version of pipe.js is now available for the 2.0 embed code.

The minified version (pipe.min.js) is roughly 11,5% smaller in size than pipe.js when comparing the compressed versions (gzip) that get transferred.

You can point your embed code to it using the following URLs in the <script> tag:

  1. worldwide AWS CDN: <script type="text/javascript" src="https://cdn.addpipe.com/2.0/pipe.min.js"></script>
  2. directly from our EU delivery servers: <script type="text/javascript" src="https://s1.addpipe.com/2.0/pipe.min.js"></script>

le: the docs are online too: https://addpipe.com/docs/#using-minified-pipe-js

Playback Progress Bar

New

Our desktop video recording client finally got a playback progress bar. The visual indication of the playback position should be useful especially for longer recordings. Until now, the only indication was the current/total time display. The playback bar is not interactive for now.

New Embed Code Attribute "capture"

New

We added a new attribute called “capture” to the embed code 2.0.

The “capture” attribute provides control over which camera should be used by the user agent on startup of the recording client. This “capture” attribute is specific to the native mobile recording client.

For more information on how to work directly with the embed code and utilize the new “capture” attribute, please refer to the documentation. There are detailed instructions provided on implementing the new attribute in your native mobile recording client.

Fixed incompatible mime type introduced by Chrome 114

Fix Improvement

Chrome 114 introduced a change that explicitly limits how mime types need to be specified, which affected audio only recordings made by the Pipe recorder.

We’ve deployed a new build of pipe.js which addresses this change.

The desktop recorder width can now be specified in any unit

Improvement

The 2.0 embed code and desktop recording client now support all CSS units for width, including relative units.

  • Embed code improvement: You can now specify the width of the desktop recorder using any CSS unit such as px, %, vm, etc. .
  • Desktop recording client improvement: support for absolute and relative units for width in the desktop recorder delivered by the 2.0 embed code. As a result, the 2.0 recording client is now responsive.
  • Improved positioning of elements: In the recorder window, all elements now have their independent style. This improvement ensures that these elements remain perfectly where they should be even when dealing with relative width values and across different screen sizes. Regardless of the width settings or the device used, the positioning of elements within the recorder window is consistent and visually pleasing.

Updated Subscription Page

Improvement

The recently rolled-out unified subscription page will now show better information for cancelled subscriptions that have not yet expired including when you will be able to subscribe again.