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

"Law, Will" <wilaw@akamai.com> Mon, 25 September 2023 15:37 UTC

Return-Path: <wilaw@akamai.com>
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 C1B3BC157B45 for <hls-interest@ietfa.amsl.com>; Mon, 25 Sep 2023 08:37:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=akamai.com
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 V4-3O1fWqzLs for <hls-interest@ietfa.amsl.com>; Mon, 25 Sep 2023 08:37:17 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BFB82C159495 for <hls-interest@ietf.org>; Mon, 25 Sep 2023 08:37:04 -0700 (PDT)
Received: from pps.filterd (m0122332.ppops.net [127.0.0.1]) by mx0a-00190b01.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 38PEeecr007363 for <hls-interest@ietf.org>; Mon, 25 Sep 2023 16:37:03 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h= from:to:subject:date:message-id:content-type:mime-version; s= jan2016.eng; bh=Vv4N2gU7uj+xeEiQhvv+lBeP5TeRsDdfR7+wO1rihpk=; b= QarS6D31L8MRo2JV4/yunOr5K5d4p5lU8yg86gL12mSK4lAPLKzvAHKGKteNhqn/ AgC4mldh+6IQPi7VOR8xFxdy5lPzkTNmPAboOrD1l61roWrJY7Hh5H1VMtr9sISj dXy9Y0AdWk7m+MeaE5a29zklrOIF72GjEblggMVN/VnOEi1qTEhRPX8YygOLoUcI oHm247oDN0U5PT8Awdsk45kdsEeqSINb7ntfTjXGu4Qe1u6JG+aCyct56xTSWQh8 Jd8j63SCGJpgK5iGtdQM549SMNiQ+i8MnU5qVm5Uz7GMR8NB/zR/GhPcYXavFItw TQ3RsBnKBE5YUy9QMrV3Qw==
Received: from prod-mail-ppoint1 (prod-mail-ppoint1.akamai.com [184.51.33.18] (may be forged)) by mx0a-00190b01.pphosted.com (PPS) with ESMTPS id 3taygqcwpf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <hls-interest@ietf.org>; Mon, 25 Sep 2023 16:37:03 +0100 (BST)
Received: from pps.filterd (prod-mail-ppoint1.akamai.com [127.0.0.1]) by prod-mail-ppoint1.akamai.com (8.17.1.19/8.17.1.19) with ESMTP id 38PFGd7P010040 for <hls-interest@ietf.org>; Mon, 25 Sep 2023 11:37:02 -0400
Received: from email.msg.corp.akamai.com ([172.27.91.21]) by prod-mail-ppoint1.akamai.com (PPS) with ESMTPS id 3t9ubx554w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <hls-interest@ietf.org>; Mon, 25 Sep 2023 11:37:01 -0400
Received: from usma1ex-dag4mb4.msg.corp.akamai.com (172.27.91.23) by usma1ex-dag4mb2.msg.corp.akamai.com (172.27.91.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.25; Mon, 25 Sep 2023 11:37:01 -0400
Received: from usma1ex-dag4mb4.msg.corp.akamai.com ([172.27.91.23]) by usma1ex-dag4mb4.msg.corp.akamai.com ([172.27.91.23]) with mapi id 15.02.1258.025; Mon, 25 Sep 2023 11:37:01 -0400
From: "Law, Will" <wilaw@akamai.com>
To: "hls-interest@ietf.org" <hls-interest@ietf.org>
Thread-Topic: Clarification on client and origin behavior with byte-range addressed LL-HLS
Thread-Index: AQHZ78YgHxxNYDpM10+OlxR4Qpyeww==
Date: Mon, 25 Sep 2023 15:37:01 +0000
Message-ID: <B2418083-BE20-4BEE-AAF1-41DEDF32377B@akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.76.23082700
x-originating-ip: [172.27.164.43]
Content-Type: multipart/alternative; boundary="_000_B2418083BE204BEEAAF141DEDF32377Bakamaicom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-25_12,2023-09-25_01,2023-05-22_02
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxscore=0 suspectscore=0 bulkscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309250119
X-Proofpoint-ORIG-GUID: rc0QnD9BARg991kpQGMn4vfHw1UgB8-N
X-Proofpoint-GUID: rc0QnD9BARg991kpQGMn4vfHw1UgB8-N
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-25_12,2023-09-25_01,2023-05-22_02
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 priorityscore=1501 lowpriorityscore=0 impostorscore=0 adultscore=0 malwarescore=0 spamscore=0 mlxscore=0 clxscore=1015 suspectscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2309180000 definitions=main-2309250118
Archived-At: <https://mailarchive.ietf.org/arch/msg/hls-interest/3bQZrZfZQGGtY7aEwXt2HW8fGQA>
Subject: [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 15:37:20 -0000

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