Re: [Hls-interest] Clarification on client and origin behavior with byte-range addressed LL-HLS

"Ali C. Begen" <ali.begen@networked.media> Mon, 25 September 2023 18:46 UTC

Return-Path: <ali.begen@networked.media>
X-Original-To: hls-interest@ietfa.amsl.com
Delivered-To: hls-interest@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 54591C16952F for <hls-interest@ietfa.amsl.com>; Mon, 25 Sep 2023 11:46:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=networked.media
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p5_VmWisqGG7 for <hls-interest@ietfa.amsl.com>; Mon, 25 Sep 2023 11:46:17 -0700 (PDT)
Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB2FEC15DD6A for <hls-interest@ietf.org>; Mon, 25 Sep 2023 11:46:17 -0700 (PDT)
Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3ab244e7113so4457445b6e.3 for <hls-interest@ietf.org>; Mon, 25 Sep 2023 11:46:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networked.media; s=google; t=1695667576; x=1696272376; 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=k2UEojZK5nV29o2wa/CUTGLvCV5qI+GliZLHtY7q2DI=; b=ODrSVdHUa/X/UEBmZdbbv1+7FAX0F55ILpgMypE5mVQ7c5n375i6saXczr5LsxfoIZ FmkR9GoorNP0PQYVx2snWkOONxWhtMU/1qbnvZ/eDcR2YFV2ybe/Iit8r09aufvRxN2B D8HvA95IlXD0//rS4JPaWtpqa/XUJnwXgm/kW1l6C7S3ayX4WVkk5YI5jR6kZqX+fPpM SqJnO1qtxqqeL6YdDbJNVUW+r1ywwi2G/MjgBdKNr4eXIfvdRkCzGZXUlpAVriYaRm/B yHLsdy9UQe1DFH/ogX57tszD/ZXKv6q/brh/1K2JjHk4ESLWFEUQgLsorqq+/hcIUXZf +L9g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695667576; x=1696272376; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=k2UEojZK5nV29o2wa/CUTGLvCV5qI+GliZLHtY7q2DI=; b=BV6+2WPBxiGs7KKvjgHHbB+b98AMnoccxuDk75WXpUnaU+/efTucnqfCTByOxuMFSL HxtEMfcNkbAVl5yvUKZPque7D2bBuAuvUIaxX2scdmaDX2YH1778IkKnlkc5dVTWM+lF epT/3SPZBlc5IVJ1tLgUKF3U30qRaPZxF9cpow49ctUZ4ltrEf2+Dg+vU10NtZJWO8Me vOKXp/cSIp3lEHj3+IGKUJ2BJiAOz53SN5rZxwrHxugQCxmf+isS7VEyWMf9VVhXDqPo OefcPOX6wIVts+4BBH3JtWQslQawy8W75g0C/jOAZPJTp28J3ooMeJJePICgfCc8RyuR kNAA==
X-Gm-Message-State: AOJu0Yx5ON9EoFYsa/N3aYsHcQialOsXFx4MYwUI69t/EIirkwbFHKsw 7U2coAdqjQ4gwpEHDN2B5mPGPkQrBsxv1C3ub6CzOQ==
X-Google-Smtp-Source: AGHT+IFLrAiY4TTP8Ezw27j0exfdJk9bYPCdIk4xCqGCJB2JemDGeoWQ0XTb/R3XaTAEiwFZm4yvynw/QKN7NYVBGdM=
X-Received: by 2002:a05:6870:b62a:b0:1d6:52ff:9652 with SMTP id cm42-20020a056870b62a00b001d652ff9652mr8875167oab.29.1695667576649; Mon, 25 Sep 2023 11:46:16 -0700 (PDT)
MIME-Version: 1.0
References: <B2418083-BE20-4BEE-AAF1-41DEDF32377B@akamai.com>
In-Reply-To: <B2418083-BE20-4BEE-AAF1-41DEDF32377B@akamai.com>
From: "Ali C. Begen" <ali.begen@networked.media>
Date: Mon, 25 Sep 2023 21:46:05 +0300
Message-ID: <CAA4Mczu-9c6vN2ZtOZRtKGdVH1=-dHNWmJPwUu+Vkbpr02dgTA@mail.gmail.com>
To: "Law, Will" <wilaw=40akamai.com@dmarc.ietf.org>
Cc: "hls-interest@ietf.org" <hls-interest@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000904a280606335ff0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hls-interest/vXouH1EvXh55Xpt1tWR5jzk88Ws>
Subject: Re: [Hls-interest] Clarification on client and origin behavior with byte-range addressed LL-HLS
X-BeenThere: hls-interest@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Discussions about HTTP Live Streaming \(HLS\)." <hls-interest.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hls-interest>, <mailto:hls-interest-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hls-interest/>
List-Post: <mailto:hls-interest@ietf.org>
List-Help: <mailto:hls-interest-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hls-interest>, <mailto:hls-interest-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Sep 2023 18:46:21 -0000

FWIW, Will, my expectation from an HTTP server has always been [b].

-acbegen

On Mon, Sep 25, 2023 at 6:37 PM Law, Will <wilaw=40akamai.com@dmarc.ietf.org>
wrote:

> Hello
>
>
>
> I’m looking for some clarification on intended client and origin behavior
> when playing back LL-HLS with byte-range addressing.
>
>
>
> # This is Playlist update 3
>
> #EXTINF:4.08,
>
> fs270.mp4
>
> #EXT-X-PART:DURATION=1.02,URI="fs271.mp4",BYTERANGE="20000@0
> ",INDEPENDENT=YES
>
> #EXT-X-PART:DURATION=1.02,URI="fs271.mp4",BYTERANGE="23000@20000"
>
> #EXT-X-PART:DURATION=1.02,URI="fs271.mp4",BYTERANGE="18000@43000
> ",INDEPENDENT=YES
>
> #EXT-X-PART:DURATION=1.02,URI="fs271.mp4",BYTERANGE="19000@61000"
>
> #EXTINF:4.08,
>
> fs271.mp4
>
> #EXT-X-PART:DURATION=1.02,URI="fs272.mp4",BYTERANGE="21000@0
> ",INDEPENDENT=YES
>
> #EXT-X-PRELOAD-HINT:TYPE=PART,URI="fs272.mp4",BYTERANGE-START=21000
>
>
>
> Given the snippet above, how should the player load the hinted part? It
> knows it starts at an offset of 21000 but it does not know the end. Per the
> spec
> https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.5.3,
> if the last-byte-pos is unknown, then the player should use RFC8673 and a
> last-byte-pos value of 9007199254740991. Seeing an incoming range request
> of range: 21000-9007199254740991, what should the origin do? Does it
>
>    1. Serve bytes from 21000 to the end of the part
>    2. Serve bytes from 21000 to the end of the segment
>    3. Do something else
>
>
>
> If [a], that would be a departure from standard HTTP range request
> semantics. If [b], now the player receives all the remaining parts in that
> segment, instead of just the hinted part.
>
>
>
> Cheers
>
> Will
>
>
>
>
> --
> Hls-interest mailing list
> Hls-interest@ietf.org
> https://www.ietf.org/mailman/listinfo/hls-interest
>