A new session is being created on the server.
The session was created successfully.
A video is being uploaded. trial names the current trial.
Videos have been uploaded and the server is processing the trial.
await client.importSession(activitiesJson, subject, null, {}, (status) => {
switch (status.type) {
case "creating_session":
console.log("Creating session...");
break;
case "uploading_video":
console.log(`[${status.trial}] Uploading: ${status.uploaded}/${status.total}`);
break;
case "processing":
console.log("Processing...");
break;
}
});
The current status of a session import.
Reported during
importSession, tracking session creation, video upload and processing stages.