Optional ReadonlyframeExact frame timing when the media source provides an index; null otherwise.
Optional ReadonlyframeIndexed moves and observable scrub landings for push-based indexed sources.
Optional ReadonlydetectionDetection source used by the renderer. Present when the session was created with static frames, a source, or an appendable source.
ReadonlymediaReadonlyrendererOptionalsetResize an engine-backed display-box source and await its presented output.
Append semantic detection frames to the selected writable source, supplied
by the caller or created through detections.appendable.
Optionaloptions: MediaSessionDetectionWriteOptionsOptionalappendOptionally append the newest live detection frame.
Live ingestion is an added capability, so a controller that does not do it
still satisfies this interface. createMediaSession always provides it;
see LiveMediaSession.
Optionaloptions: MediaSessionDetectionWriteOptionsOptionalfinalizeOptionally close the appendable source's final coverage.
Optional for the same reason as MediaSession.appendLiveDetectionFrame.
OptionalendTime: numberOptionaloptions: MediaSessionDetectionWriteOptionsOptionaloptions: MediaSessionDetectionWriteOptionsOptionaloptions: MediaSessionDetectionWriteOptionsSummary of frames written through appendDetectionFrames, when available.
Optionaloptions: MediaSessionDetectionWriteOptionsRe-read semantic detections and redraw the current presentation.
Encodes the media frame the session is currently presenting.
The session keeps decode and render ownership; hosts receive an encoded image of the raw media pixels plus the presentation timestamp of that exact frame. Defaults to JPEG.
Optionaloptions: MediaFrameCaptureOptionsOptionalsetReplaces the session's depth, or removes it with null, and redraws the
frame on screen. Resolves once the renderer has that depth, and rejects
with the reason a manifest did not load; the media keeps playing
meanwhile. session.renderer.getActiveDepth() reads back what is drawn.
Public controller for one renderer-owned media item.