Constructs a new Location.
The group index (number or bigint).
The object index (number or bigint).
Readonly
groupThe group index for this location.
Readonly
objectThe object index within the group for this location.
Compares this Location to another for ordering.
The other Location to compare.
-1 if this < other, 1 if this > other, 0 if equal.
Checks if this Location is equal to another.
The other Location to compare.
True if both group and object are equal.
Static
deserializeDeserializes a Location from a buffer.
The buffer to read from.
The deserialized Location.
Represents a position in a MOQT track, consisting of a group and object index.
Used for specifying start/end positions in subscription and fetch requests.
group
: The group index (e.g. segment, GOP, or logical group).object
: The object index within the group (e.g. frame, chunk).