You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently encountered a problem with the attempted download of a very large recording file. The EFP experiment runner has a maximum recording duration that should prevent experiments from producing very large recordings in the first place. Currently, if the maximum duration is reached then there is a warning in the browser's console, but can easily go unnoticed since it doesn't actually alert the participant or researcher.
Implementation notes
We should consider options for logging that the upper recording limit has been reached. Perhaps the most straightforward option is to add this as a flag to the JSON response data (e.g. exceededUpperRecordingLimit: true). Here's the relevant bit of EFP code for handling recordings that have exceeded the time limit.
Other options:
Log an error in Sentry (I'm not sure if it's possible to throw a custom error that is picked up by Sentry but doesn't disrupt the experiment)
Add a message to the page, something like "Maximum recording time reached - stopping the recording." But this might not be ideal in some cases, and it would need to be translated for non-English studies.
Whatever we decide to do in EFP, we should make note of for lookit-jspsych as we will want to do the same thing there.
The text was updated successfully, but these errors were encountered:
Summary
We recently encountered a problem with the attempted download of a very large recording file. The EFP experiment runner has a maximum recording duration that should prevent experiments from producing very large recordings in the first place. Currently, if the maximum duration is reached then there is a warning in the browser's console, but can easily go unnoticed since it doesn't actually alert the participant or researcher.
Implementation notes
We should consider options for logging that the upper recording limit has been reached. Perhaps the most straightforward option is to add this as a flag to the JSON response data (e.g.
exceededUpperRecordingLimit: true
). Here's the relevant bit of EFP code for handling recordings that have exceeded the time limit.Other options:
Whatever we decide to do in EFP, we should make note of for lookit-jspsych as we will want to do the same thing there.
The text was updated successfully, but these errors were encountered: