[Moq] Re: How timestamps totally solve delivery timeout

Martin Duke <martin.h.duke@gmail.com> Mon, 22 June 2026 15:53 UTC

Return-Path: <martin.h.duke@gmail.com>
X-Original-To: moq@mail2.ietf.org
Delivered-To: moq@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id BCD5510527594 for <moq@mail2.ietf.org>; Mon, 22 Jun 2026 08:53:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1782143610; bh=buKFR8XkG5ERybigtOP+chhPG6FqZe8ElVcLV0BKx8s=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=WevXpDvUY8T71nDhEiVp3fqyE9XcaTzlPf83YZVcK0pAzIq/FMPfGa40eifJIxGKm zchKBlXc6fMVFX/FLbuf0JElGP5ZHMWTrD0BCgL8YNFRuw/YNWfDTOo+C57PSqAbOg LQE2LijbanLc2RLdhf5oqnHbyxD7D2sItOG5VX+w=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YIfp2nnSLL79 for <moq@mail2.ietf.org>; Mon, 22 Jun 2026 08:53:30 -0700 (PDT)
Received: from mail-dl1-x1231.google.com (mail-dl1-x1231.google.com [IPv6:2607:f8b0:4864:20::1231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 5C28910527589 for <moq@ietf.org>; Mon, 22 Jun 2026 08:53:30 -0700 (PDT)
Received: by mail-dl1-x1231.google.com with SMTP id a92af1059eb24-13986d61b4fso5473211c88.0 for <moq@ietf.org>; Mon, 22 Jun 2026 08:53:30 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1782143603; cv=none; d=google.com; s=arc-20240605; b=YgpfN9gBIw+ViSim+HDLTgS+XIQ72p6drC5xW95I4p1/Q5r6Z4peFlVsJfDNSBULEm jV4yd8m+p2WeVnykM5dXbi27qyJhfjUZSdzr7eR//vd8CeOqvtFHqqeBFCb0uwYPqbX/ TtAYmR+6xNA3wEEtkn82VTJgbJV59f4lU2ulQtRA3iHwFfjKbQ66gXTWmciuWTlB8f0A TsZHiu9EUoG22DxLY7KNhyU982kLYrAHlzOCQfNaTzQ93Gt637UE9XhXj4FMXZiXoCRG no1fE/4Y0xmzAqKI18lJFBmvq2qDJv6iBylXU7cG7l+KJKOGXFfnQH8bCtGdpS8i+/dc QjQA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=kI4KE1LAKE8EqyF61TkQHwqGaLMQWu4s9p1EzJe3GjE=; fh=O7FHekVWbm+p1BTgemBIsNU2wj9zrV/QYc3Tp1yj5Co=; b=B7AzB8+huEgOTVYFmZJsgUcyckT0AuX7UNeRHq3VqnWgZmKmOhizEzHunsjoOKZhPj ANrButwv8QiC8JSubZwogLIZi6I+eZpCMHGG2GpsNdKuhW+CsGbLPYKiFblp3MKeuLYF SJyH9iOOgCUw3YOiUGaL+2AltA/MeM2++jffz6Z3Bqi4CVSwfyLTcd/RqWfrJfOFY5W3 vwNnhk/BdNOYzBnxahXK0vXLTL9J3IrXVAKnq4cSnPQ51jIayFVub/q3bOM5VVTyZE7k DM73Ig2tnH70h2UuAusR3GMBnHntCQI42dkkydulwJbIG/1dUOzCnaNaG8FWBNV5J4kf 9crQ==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782143603; x=1782748403; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kI4KE1LAKE8EqyF61TkQHwqGaLMQWu4s9p1EzJe3GjE=; b=F7h6LRPrM/ubWsU9yec/t5MztR+8fY5NZr4xMGTobHC7V+R7U16sONzk7EDH5hUSZY XCLHQ27yupATaEo7WU/zxYIVdeqqqhBKIDqsJqShOBU1mbT8Huj9LEAvttizP2xnSVfR m9j0ZrWTvVSeYe2QlJEogMtHmaaVq8/p5ketG8gJ+aegFMsYsVuH07RfdQvtHma8bpy8 1ftiJbONj9qoi1gr9q57UMFqKxQnyXnBOQxmF7Tuspg98H/7gFi7TBO4JblU8n/4r4RW pO4Uc/CEjKJqmTIx/0eJ8TrXKF9bJpGX2ZELW5iV5CRoPMtmlF9Lo0Le6L3QNv1k1hNh epLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782143603; x=1782748403; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kI4KE1LAKE8EqyF61TkQHwqGaLMQWu4s9p1EzJe3GjE=; b=RnPAiBqW2TV4XkC4hzdN7EptII4Ap+a8HFR8Id02hu/Ol1TXvHYMGoow6QUQEhYnXL znM3IoyTPNHHYNyYe+dUhuTfpBEIkaynWzQJSVBMPSdnku1TgS8nTEaDs2WE6I6RzDdS LnGdSf2+bd5fEjNqJxBKFtJaD3HIqxffYUkG4+95llLPJ4ycycpw3iJ0Cn93o85vrFM2 ioIfxGF4CgXR6DoYNafRryM4eTW+BDaJzbx6CZFnrWPsplD9gs8JhNuAILGdud7mHC2h BDRN/ZqiG/M9HzHdJ8T6Y0diVUt9t7SqLhwX3TqvpHa7rKarLaMaw6uUbHPQngNtPN4j H2ug==
X-Gm-Message-State: AOJu0YyB9K9riS95ASUQSG6ZBBd1m9NrQkoVdlgbEVLfkMYDE5EEU9cg zYePX9ZPd/mL0aBKnyVGHiqt6TLk/kZpBSgTZYBkpgKllLSeMuH7FJIqmnSbhJZI7DyEcvkr4NK V9h1UiYoKIZqrK+nunwqZ7qdZRl1kJaejww==
X-Gm-Gg: AfdE7ckHr/s1ONXSj+hWx2C6C29cljuFl0u/Ho8XjFG7DKMZNtf8FNYaZdTNm9sVQcL IaqxRyWDEEZx/YxIRoBbEm03k5Z7LoVG5aVcNGYyGxWJTbN76LSNHnr2LEk/shpIfxw6d+nSNnk Ohc+GXSmOE+oR5lBrAH+UVgptGMCdA4HYZbMojoZ810Udwk26CPuvhy0TDJcJKDlYyg1lCe+3Gb mV682KbOfM5TG471D/LKEd/i8YOLD/gwAH1n/2nEoyZGB1L5ZL9Wh6FSMMlHXJiciTvTZRXuAF4 FQydIciFnRD98n7nR4ebthHBMkut/rlWTHV+4zl/CdSo1fNMQSpvdCN7T43bEZ8+Mgtkbg==
X-Received: by 2002:a05:7022:6b87:b0:139:7a48:651b with SMTP id a92af1059eb24-139a2053b66mr8465668c88.14.1782143602921; Mon, 22 Jun 2026 08:53:22 -0700 (PDT)
MIME-Version: 1.0
References: <CAM4esxR-CDavPPMnRsYzUmXJO2DwesB3b9foCYotf6xHNuis8g@mail.gmail.com> <283D9101-B2DA-485F-A992-A4E17A37E308@iii.ca>
In-Reply-To: <283D9101-B2DA-485F-A992-A4E17A37E308@iii.ca>
From: Martin Duke <martin.h.duke@gmail.com>
Date: Mon, 22 Jun 2026 16:53:10 +0100
X-Gm-Features: AVVi8CdtQb2SmZDN6l1vbkxuSmmO9QBMNu8jHU0awC3SIZwcO_sFuQkxZv_6ATs
Message-ID: <CAM4esxRJi4sC11hnntFx92h2sPGrYC5293Z2tsd9G0+ROh4UoQ@mail.gmail.com>
To: Cullen Fluffy Jennings <fluffy@iii.ca>
Content-Type: multipart/alternative; boundary="0000000000006416a10654d9a4bb"
Message-ID-Hash: 3U6EPOWMXFND7D5ZQZ72LF5NJWCVESWD
X-Message-ID-Hash: 3U6EPOWMXFND7D5ZQZ72LF5NJWCVESWD
X-MailFrom: martin.h.duke@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: MOQ Mailing List <moq@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Moq] Re: How timestamps totally solve delivery timeout
List-Id: Media over QUIC <moq.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/moq/GR_WFSvYN3QU8QzapaSU-uS7JU0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/moq>
List-Help: <mailto:moq-request@ietf.org?subject=help>
List-Owner: <mailto:moq-owner@ietf.org>
List-Post: <mailto:moq@ietf.org>
List-Subscribe: <mailto:moq-join@ietf.org>
List-Unsubscribe: <mailto:moq-leave@ietf.org>

Cullen,

If you're talking about interactive apps, I agree. This is tailored for
something that has a chunky playback buffer and will try to avoid skips,
which is not what you would want if trying to stay extremely close to live.

On Mon, Jun 22, 2026 at 8:45 AM Cullen Fluffy Jennings <fluffy@iii.ca>
wrote:

>
> I think we should have extensions for a time stamp as it does helps with
> stuff so agree with meta point but just as small point about this algorithm
> …
>
> This algorithm turns out to be worse than some other algorithms in
> practice because the first object in a subscription, on a bad connection,
> tends to have higher delay than the average delay on min delay of other
> objects in that subscription.
>
>
> > On Jun 12, 2026, at 7:47 AM, Martin Duke <martin.h.duke@gmail.com>
> wrote:
> >
> > The reason we have delivery timeout is because players have some amount
> of buffer. When it starts playing, something that arrives a little late is
> fine; if it is later than the buffer length, the player has already passed
> it by.
> >
> > Today, MOQT has no idea what the intended time interval between two
> objects is. So it uses the heuristic of the arrival time at the relay,
> which bakes in whatever jitter happened upstream. If the buffer is 5
> seconds, and object(time 1 minute) arrives at the relay 1:10 after
> object(time 0), the relay will send it immediately if it can, even though
> it is 5 seconds beyond the buffer at the play head.
> >
> > If there were timestamps, I would apply the following pseudocode
> >
> > Subscription::MaybeSendObject(object) {
> >   if (FirstObjectInSubscription(object)) {
> >     first_object_timestamp_ = object.timestamp;
> >     first_object_send_time_ = clock_.Now();
> >     SendObject(object);
> >     return;
> >   }
> >   intended_relative_time = object.timestamp - first_object_timestamp_;
> >   actual_relative_time = clock.Now() - first_object_send_time_;
> >   if (actual_relative_time > intended_relative_time +
> >        delivery_timeout_; {
> >      ResetStream();
> >      return;
> >    }
> >    SendObject(object);
> > }
> >
> > If the QUIC layer doesn't fail us, I contend that this design guarantees
> that objects only arrive if the play head hasn't passed them by.
> >
> > Martin
> >
> > --
> > Moq mailing list -- moq@ietf.org
> > To unsubscribe send an email to moq-leave@ietf.org
>
>