Changelog

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

Improved Experience When Audio or Video Data Becomes Unavailable

New

We have improved how the desktop recording client responds to situations where audio or video data becomes unavailable.

This can occur, for example:

  1. on Firefox when the user clears previously granted permissions
  2. on Chrome when the user resets previously granted permissions
  3. on Chrome when a computer goes into sleep mode while the desktop recording client has access to the camera and/or microphone.

With this update:

  1. The recording process will automatically stop if both audio and video data captured are no longer available during a recording.
  2. If only audio is being recorded, the recording process will stop if the audio data becomes unavailable.
  3. If data becomes unavailable while the recording client is idle, the desktop recording client will automatically request permissions again when the user attempts to start a new recording.

New WordPress Plugin

New

A new WordPress plugin called “Pipe Recorder” is now available.

The plugin makes the integration process much easier and straight forward.

You’ll find more information in the blog post.

There’s also a new documentation section that covers it.

Fixed issue with big recording chunks

Fix

We resolved an issue where, while recording, oversized chunks (recording slices) were created by the browser, but, because of their size, they were refused by our ingestion servers. This caused the desktop recording client to fall into a re-connection loop and the oversized chunk and further chunks were never received by the server.

We implemented a new client side mechanism to split these huge chunks - that exceed the maximum size we accept on the ingestion server - into smaller pieces before sending them to our ingestion servers.

Generating such a large recording chunk was a very rare issue. Even though it happened on vanilla browsers (Chrome on Windows, Chrome on Andorid, etc.) we were only able to replicate it and find the root cause (a browser bug) on Safari on macOS/iOS.

le: we were also able to generate large chunks on:

  1. Chrome on Android by locking the screen while recording: large chunk is generated when you unlock the phone
  2. Chrome on macOS/Windows by entering sleep mode: large chunk is generated when you stop the recording

We also wrote a blog post on the subject.

The environment code is now sent in the payload of every webhook

Improvement

Every webhook payload now additionally contains the environment code of the environment in which the recording was made. It can be retrieved using the new envCode attribute.

The environment code is the unique alphanumeric string identifier of the environment. You can find this value in your Pipe account dashboard in the environment settings.

Fixed "timeout" error message on slow connections

Fix

We resolved an issue where the “timeout” message appeared in the Recording Client on very slow internet connections, causing it to become unresponsive with no further reconnection attempts. Now, if a disconnection occurs, the Recording Client will automatically attempt to reconnect up to 30 times.

New embed code option to hide the save button

New

A new embed code option called hidesave has been added to the 2.0 Recording Client. When set to 1, it hides the save button that appears when autosave (asv) is disabled (asv = 0). The default value of hidesave is 0.

Previously, when autosave was disabled, a save button was visible by default without the possibility of hiding it. Now, the save button will still be visible when disabling autosave, but it can also be hidden by setting hidesave to 1.

If both autosave (asv = 1) and hide save (hidesave = 1) are enabled, the recording still saves automatically as usual.

Fixed filtering by date under /recordings

Fix

In the dashboard, under /recordings, we’ve fixed the date filter so that:

  1. it allows you to show the recordings from just 1 day
  2. when selecting an interval, the recordings from the last day of the interval will also be shown

Fixes to how we show payloads

Fix

In the dashboard, under /recordings:

  1. JSON payloads don’t break all the payload buttons on the page and show up correctly in the modal
  2. White space characters (spaces, tabs, newlines, etc.) in payloads are now visible in the payload modal. Previously, such characters collapsed into one space.

Using AudioWorkletNode instead of the ScriptProcessorNode

Improvement

We have updated our audio processing pipeline for our inline recording client by switching from ScriptProcessorNode to AudioWorkletNode. This change was necessary as ScriptProcessorNode is deprecated and might no longer be supported in future browser versions.

This change also bumps up the browser requirements for our inline recording client:

  • 💻 On Desktop Devices:
    • From Chrome 63+ to Chrome 66+
    • From Firefox 52+ to Firefox 76+
    • From Safari 14.0.2+ to Safari 14.1+
  • 📱 On Mobile Devices:
    • From Chrome 63+ to Chrome 66+
    • From Safari on iOS/iPadOS 14.3+ to Safari on iOS/iPadOS 14.5+

Better password policy for account dashboard

Improvement

We’ve implemented a new password policy.

It is now mandatory that all new Pipe account passwords respect the following:

  • have at least 8 characters in length
  • have at least 1 lowercase character
  • have at least 1 uppercase character
  • have at least 1 number
  • have at least 1 special character

This new policy is enforced in the following cases:

  1. when signing up
  2. when changing a password as a result of forgetting your password
  3. when updating or setting up a password from the account dashboard

0 byte recordings eliminated for good

Improvement

A client side fix and UX improvement from 3 days ago for the 0 byte recordings created from WebKit browsers (Safari, Chrome on iOS, Firefox on iOS, etc.) was not immediately effective because some of our clients self host the pipe.js library so they don’t get pipe.js updates right away.

Also, just short of 10% of all 0 byte recordings did not originate from Safari/WebKit.

As a result, we’ve now implemented a server side fix that stops recovering any 0 byte recording.

Fixed issue with 0 byte recordings from Safari if recording after revoking permissions

Fix Improvement

On Safari on macOS, Safari on iOS, and Chrome on iOS it is easy to revoke camera and microphone permissions after you’ve given them.

For example, on Safari on macOS you can:

  1. click the grey camera icon in the browser tab OR
  2. click the red camera icon in the address bar and choose Pause

to temporarily revoke permissions.

Screenshot 2024-07-05 at 12.14.00.png

Safari on iOS on the other hand has an easily accessible “Stop Using Camera” option.

Stop Using Camera on Safari on iOS.PNG

Chrome on iOS also makes it relatively easy to revoke permissions

Revoking camera and microphone permissions on Chrome on iOS.PNG

If a user started recording after permissions were revoked, the recording client temporarily showed the “Waiting for data…” message and then “Device error: no audio or video data”. It also created a 0 byte file.

These scenarios have now been improved. The 0 byte recording is not created anymore and the desktop recording client immediately acknowledges the loss of permissions and gives basic instructions to the user.

Improved processing of some mp4 and webm files

Improvement

A small number of .webm recordings contain only 1 video frame and many audio frames. As a result, these .webm files are very small in size and, after processing, have no video frames during playback and no snapshot. After today’s update, such .webm files will be remuxed and will now generate a snapshot, as well as have 1 video frame present on the video playback.

A smaller number of .mp4 recordings come in with their audio and video data not muxed correctly. These recordings do not play correctly in both their raw and converted forms. After processing, these recordings have no snapshot and report a very long duration. We’re now detecting such recordings and remuxing them before processing them further. The final converted .mp4 file will now play correctly and there will be a snapshot for such recordings. The initial raw .mp4 file remains untouched.

We’re working on the client side to see if these issues can be fixed higher up where they originate (browser bugs?).

In June, 25 recordings exhibited the symptoms above.

Bigger slices when streaming from Safari on macOS

Improvement

Safari on macOS will now stream the recording data in slices of at least 150ms (but not more than 200ms).

Previously, there was only the max slice size limit of 200ms. The last slice can be of any size.

Fixed issue with incomplete EU2 storage URLs for recordings > 100MiB.

Hotfix

Starting with the 5th of June, a change in the Scaleway S3 API resulted in incomplete URLs saved to our database for recordings uploaded to our complimentary EU2 S3 bucket through multipart upload (>100MiB). We’ve reported the issue to Scaleway, made a change to our code so that it does not affect us, and changed all incomplete URLs to the correct ones.

This affected 219 recordings from several accounts. Affected recordings did not play from the account dashboard and the URL sent through the video_copied_pipe_s3 webhook was also wrong. Accessing such an incomplete URL in the browser resulted in a 404 http status and a NoSuchBucket error code from Scaleway.

You can now record the webcam and screen at the same time

New Improvement

You can now record the webcam and screen simultaneously. The feature also allows you to resize and move the webcam feed anywhere within the recording client over the screen feed, even while recording. This feature is only available with the 2.0 embed code.

Also, we did some thorough testing, and we’re pulling the screen recording feature out of beta. 🎉

You can read more about all the exciting features in the blogpost

New Pages section available in dashboard

New

The dashboard has a new Pages section which lists all the pages created on the environment including the creation time where available, actual 1.0 or 2.0 embed code and a DELETE option.

You’ll now be able to view and manage all the pages generated on your account.

The new section can be accessed by clicking View all generated pages from the /embed section or by going to https://dashboard.addpipe.com/pages .

1.0 Embed Code is Now Deprecated

The 1.0 version of the embed code has officially become deprecated meaning it is not actively maintained. We are working towards migrating any accounts still using it to the 2.0 version. Eventually, we’ll completely retire the 1.0 embed code.

Error message display for failed recording saves

Improvement

We’ve added a message to the recording client to highlight when a recording cannot be saved due to errors coming from the server (e.g., missing files). Despite the the error message being displayed, a new recording can be started to get rid of it, and all other functions of the recording client remain unaffected.

Transition to modern ES6 syntax and async functions in pipe.js 2.0

Improvement

We’ve updated our codebase for pipe.js and pipe.min.js, transitioning to a more modern ES6 syntax and incorporating async functions. This change not only slightly enhances performance but also reduces the file size of pipe.js by 5kB and pipe.min.js by 2kB.