"Where is this playback now" was written out four times: watchPosition
for a room's anchor, and three hand-written copies for a local sample,
in the owner's and the viewer's look for a move the person made and in
freezing a source that went away. The local samples now use
watchPosition with the time they were observed as the anchor. "Did the
person move it" is decided once for each observation: between two
paused samples any change of position counts; otherwise a ready sample
must differ from its projection by more than the provider's tolerance
or the drift default. The two default tolerances have names, in
seconds.
One behaviour changes, in the viewer's branch. Between two paused
samples the viewer compared the move with the tolerance, where the
owner compared exactly. With a paused room at 10 s and a provider
tolerance of 2 s, a viewer who moved to 12 s and then to 13 s was
outside the room's tolerance and had made no single move larger than
it, so the look treated the position as drift and could pull it back.
The person is now offered Sync at 13 s, as after one large move. A
paused position is exact, as the forced alignment of a paused anchor
already holds. The viewer's guard for a shared seek that an iframe
reports one observation late is kept: it still requires the earlier
sample to have been ready, or both to be paused.
Left alone: an owner publishes a first ready sample that is displaced,
where a viewer's first ready sample after buffering is allowed to
rejoin. No assertion settled that for the owner; a test now holds what
it does.
Tests: paused scrubs that add up, the owner's first ready sample and a
move measured at the previous rate, a forced running alignment near a
future anchor, and a source lost while paused, ended, waiting and
playing.