Member Junction
    Preparing search index...

    Function writeRecordingPeaksSidecar

    • Writes the capture-time waveform peaks as a peaks.json sidecar (a JSON array of numbers) into the session's recording folder via the storage driver. Best-effort and tolerant — a missing/empty peaks array is a no-op, and any storage failure is logged and swallowed (the recording itself already succeeded). Never throws.

      Parameters

      • sessionID: string
      • storageAccountID: string
      • peaks: number[]
      • contextUser: UserInfo

      Returns Promise<boolean>

      true when a sidecar was written.