Readonlymanifest: string | URL | DepthManifestOptional ReadonlybaseUrl?: string | URLWhat a relative manifest URL, or the files of a manifest passed as an object, resolve against. Files of a fetched manifest resolve against the manifest's own URL.
Optional Readonlymap?: undefined
Depth for the media a renderer presents: a map you already hold, or a
depth.jsonmanifest the session loads.A
mapis one still depth map drawn under every frame, stretched over the media rectangle; it must have the media's aspect ratio within 1 %. The session keeps the map's arrays for readouts and never copies them.A
manifestis the URL of adepth.json, or itsparseDepthManifestoutput. The session fetches the 16-bit PNG it names, and the confidence PNG when there is one.A clip manifest (
frames) pairs one PNG with each video frame, so it needs media with a frame index: a URL or file, orcreateWebVideoEngineMediaRendererSource(). Other media, and apreviewwhose frames are not the video's by count or by time, are refused with aRangeError. During playback the session draws the exact frames or the manifest's 8-bitpreviewvideo asrenderPreparation.depth.playbackpicks: by default the exact frames while they keep up and the preview otherwise; a clip without a preview plays its exact frames. Once playback rests, the session fetches the exact frame on screen, then its neighbours, so stepping shows depth at once.