Skip to main content

startSession()

Open a new tracking session on the Chiasm server. Call this once per participant after setExpInfo and before any calibration or recording calls — it registers the session so subsequent gaze data is linked to the correct experiment and participant.

await chiasm.startSession();
note

Call this after setExpInfo and before showScreenCalibration / setupTrackerWithRetries. Without an active session, recordings cannot be associated with a participant on the dashboard.