AutoMovie API
    Preparing search index...

    Class AutoMoviePhysicalPlayback

    Compact precomputed playback, loaded without initializing the native solver. One little-endian Float64 record stores each segment's pose and velocities. A SHA-256 trailer detects damaged data; the caller's expected input identity independently rejects stale performances. Loading checks the byte budget before copying, then admits frame/segment counts before scanning records. WebCrypto is required, as provided by Node 22 and secure browser contexts (localhost).

    Index
    • Read the segment's last recorded authority change at local film seconds.

      Rejects nonfinite/out-of-film time and a body/bone without a preceding ownership event. Substep transitions retain their actual event times.

      Parameters

      • body: string
      • bone: string
      • seconds: number

      Returns "dynamic" | "return" | "authored"

    • Load an archive against the expected identity of the current sampled input.

      The decoder copies source bytes before its asynchronous integrity check. Positive safe-integer byte/frame/segment budgets bound admission. Invalid format, identity, record data or causal metadata reject the promise; no solver is initialized and no partially admitted reader is returned.

      Parameters

      • source: Uint8Array
      • expectedIdentity: string
      • budget: { maximumBytes: number; maximumFrames: number; maximumSegments: number }

      Returns Promise<IAutoMoviePhysicalPlayback>

    • Pack completed cached poses and causal metadata into an owned archive.

      maximumBytes caps the final archive, not the metadata serialization's transient memory. Native/controller checkpoints remain in the live cache. The encoder rejects incomplete frames and nonfinite pose/velocity fields; WebCrypto supplies the integrity digest.

      Parameters

      Returns Promise<Uint8Array<ArrayBuffer>>