@halone/sdk / MediaState
Interface: MediaState
The immersive player: one video at a time, decoded by the host at full resolution and drawn around the wearer or on a screen in the room, behind every window. The window that opened it owns it, and closing that window closes it.
Extends
Properties
durationSeconds
ts
durationSeconds: number;ended
ts
ended: boolean;error
ts
error: string | null;open
ts
open: boolean;path
ts
path: string | null;playing
ts
playing: boolean;positionSeconds
ts
positionSeconds: number;projection
ts
projection: MediaProjection;Inherited from
rotatable
ts
rotatable: boolean;Whether dragging on empty space turns the video around the wearer.
stereo
ts
stereo: StereoLayout;Inherited from
videoHeightPx
ts
videoHeightPx: number;videoWidthPx
ts
videoWidthPx: number;The decoded frame, both eyes included.
