This structure defines a playback position within a media stream being played.

MatterSpecification.v13.Cluster § 6.10.5.4

interface PlaybackPosition {
    position: null | number | bigint;
    updatedAt: number | bigint;
}

Hierarchy (view full)

Properties

Properties

position: null | number | bigint = ...

This field shall indicate the associated discrete position within the media stream, in milliseconds from the beginning of the stream, being associated with the time indicated by the UpdatedAt field. The Position shall not be greater than the duration of the media if duration is specified. The Position shall not be greater than the time difference between current time and start time of the media when start time is specified.

A value of null shall indicate that playback position is not applicable for the current state of the media playback (For example : Live media with no known duration and where seek is not supported).

MatterSpecification.v13.Cluster § 6.10.5.4.2

updatedAt: number | bigint = ...

This field shall indicate the time when the position was last updated.

MatterSpecification.v13.Cluster § 6.10.5.4.1