Limiting the Length of Recordings

When recording with the legacy mobile recorder, we can not limit the length of the recording.

The HTML Media Capture standard we’re using relies on the OS capabilities to handle the recording process, and it does not have an option to limit the length.

However, if enforcing a maximum length is important to you, you can consider these two possible solutions:

  1. Cut Recordings to Length Server Side
  2. Use the recording client

Cut Recordings to Length Server Side

The Pipe Platform offers an option to cut recordings uploaded through the legacy mobile recorder to the maximum length specified in the embed code (mrt value) if the recording is longer than the maximum allowed length.

With this option turned on, a 3-minute video will be cut down to 2 minutes (first two minutes) if the mrt value is set to 120 seconds.

The option can be found in the Account Dashboard under the Transcoding Engine section.

When relying on this mechanism, you should advise your (mobile) users that their recordings will be cut to length.

You will only be charged for the cut & processed portion of the recording. You will not be charged for the entire length. In the example above, you will only be charged for a 2-minute-long recording.

Use the Recording Client

The recording client can be used on mobile browsers/devices and it supports limiting the length of any recording made on the spot through the mrt (maximum recording time) embed code option.

In the recording client, when the mrt value is hit, the recording process stops.

The recording client is the default option for recording on mobile devices/browsers. If disabled, you can enable it from your Account Dashboard’s Edit Environment section.