Re: [Hls-interest] Availability Duration of Partial Segments

Roger Pantos <rpantos@apple.com> Fri, 16 April 2021 16:31 UTC

Return-Path: <rpantos@apple.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 AA3DA3A2BBF; Fri, 16 Apr 2021 09:31:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.119
X-Spam-Level:
X-Spam-Status: No, score=-2.119 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_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zx8JCWaDGKHb; Fri, 16 Apr 2021 09:31:33 -0700 (PDT)
Received: from ma1-aaemail-dr-lapp01.apple.com (ma1-aaemail-dr-lapp01.apple.com [17.171.2.60]) (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 A73713A2BED; Fri, 16 Apr 2021 09:31:23 -0700 (PDT)
Received: from pps.filterd (ma1-aaemail-dr-lapp01.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp01.apple.com (8.16.0.42/8.16.0.42) with SMTP id 13GGSh76025757; Fri, 16 Apr 2021 09:31:22 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : message-id : content-type : mime-version : subject : date : in-reply-to : cc : to : references; s=20180706; bh=1gq2l4q5Ko2ljoriDUTLDNVqQZt0oLdE9vJ6fpI/FTw=; b=Db6l1iY1oEVV+/P4li93IWLiEHLTuLyI9Xbn6hBQ8us4eBzt0MWQXq4JU/LOeQcs09tO x4psDxVfiks961THxSHrv37NWuIPSVGX0Wh0rWO20eWBK7+eF2XQbtf+ZMQCMUcwek55 eBlywHhlRu4upV0iaDk0wBI5iifrLp8UFu8NdUN3IeQ0cm+FcPx/4dhotbcBGjRr0Q3o srfWBKU61/hs5PPP2YzQAJLvufV9n/8rC+9J57VZqplpUiRbV5QkTiEbTg2aO/EUDJji 6WBbK9psisnxXqU8RnMn+uQ6XIlQUwmIkKUqX2FiPb0vcvcgI3XHtEVIYoU9xeZ8eV60 Bw==
Received: from rn-mailsvcp-mta-lapp02.rno.apple.com (rn-mailsvcp-mta-lapp02.rno.apple.com [10.225.203.150]) by ma1-aaemail-dr-lapp01.apple.com with ESMTP id 37uap4t6s9-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 16 Apr 2021 09:31:22 -0700
Received: from rn-mailsvcp-mmp-lapp04.rno.apple.com (rn-mailsvcp-mmp-lapp04.rno.apple.com [17.179.253.17]) by rn-mailsvcp-mta-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) with ESMTPS id <0QRO006GX0K80N20@rn-mailsvcp-mta-lapp02.rno.apple.com>; Fri, 16 Apr 2021 09:31:21 -0700 (PDT)
Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp04.rno.apple.com by rn-mailsvcp-mmp-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) id <0QRO0050004LEY00@rn-mailsvcp-mmp-lapp04.rno.apple.com>; Fri, 16 Apr 2021 09:31:21 -0700 (PDT)
X-Va-A:
X-Va-T-CD: cf2e235635d5796b22b5226885daffc2
X-Va-E-CD: 9764cff1a767e1a80fbca54a4fe1ccf0
X-Va-R-CD: 2a5b0144edc5fcbecdb01e1f25db2363
X-Va-CD: 0
X-Va-ID: 777925f4-302e-4164-a2f1-9db1045260ba
X-V-A:
X-V-T-CD: cf2e235635d5796b22b5226885daffc2
X-V-E-CD: 9764cff1a767e1a80fbca54a4fe1ccf0
X-V-R-CD: 2a5b0144edc5fcbecdb01e1f25db2363
X-V-CD: 0
X-V-ID: feafadaf-66a9-435c-96b6-f31d6a29888e
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-16_08:2021-04-16, 2021-04-16 signatures=0
Received: from smtpclient.apple (unknown [17.150.208.50]) by rn-mailsvcp-mmp-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) with ESMTPSA id <0QRO000IT0K8PE00@rn-mailsvcp-mmp-lapp04.rno.apple.com>; Fri, 16 Apr 2021 09:31:20 -0700 (PDT)
From: Roger Pantos <rpantos@apple.com>
Message-id: <597413CE-F28E-420D-A152-9E486E2651D0@apple.com>
Content-type: multipart/alternative; boundary="Apple-Mail=_3AA01326-CB23-489F-B3ED-D0B233160E30"
MIME-version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\))
Date: Fri, 16 Apr 2021 09:31:19 -0700
In-reply-to: <3A41D0E7-2229-4503-9A83-E24E3610B405@contoso.com>
Cc: "Hls-interest@ietf.org" <Hls-interest@ietf.org>
To: Vijay Jayaraman <Vijay.Jayaraman=40wowza.com@dmarc.ietf.org>
References: <3A41D0E7-2229-4503-9A83-E24E3610B405@contoso.com>
X-Mailer: Apple Mail (2.3654.80.0.2.43)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-16_08:2021-04-16, 2021-04-16 signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/hls-interest/3a6zC5wKEL3rUY8wBfI2oF03V5U>
Subject: Re: [Hls-interest] Availability Duration of Partial Segments
X-BeenThere: hls-interest@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 16 Apr 2021 16:31:38 -0000

Hello Vijay, You’re right that we should clarify this in the spec. In the meantime:

> On Apr 15, 2021, at 8:21 AM, Vijay Jayaraman <Vijay.Jayaraman=40wowza.com@dmarc.ietf.org> wrote:
> 
> Hi All,
>  
> I have a question related to LLHLS ( 6.2.2. Live Playlists - https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-07#section-6.2.2 <https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-07#section-6.2.2> )
>  
> The spec states the following about part *tags* in the playlist.
> EXT-X-PART tags SHOULD be removed from the Playlist after they are
>    greater than three Target Durations from the end of the Playlist.
>  
> The spec states the following about the availability duration of media *segments*.
> The Availability Duration of a Media Segment is the duration of the
>    segment plus the duration of the longest-duration Playlist
>    distributed by the server containing that segment.  If the server
>    removes a Media Segment URI from a Playlist that contains an EXT-
>    X-ENDLIST tag, clients MUST be able to download the corresponding
>    Media Segment until the time of removal plus the segment's
>    Availability Duration.
>  
> I couldn’t find specific information on the Availability Duration of *Partial Segments*.
> When not using BYTERANGE for partial segments, what is the Availability duration of the partial segments?

I would follow the lead of the caching advice in Appendix B.1:

      Successful responses to blocking Media segment requests should be
      cached for six Target Durations. 

and keep Partial Segments available for at least 6 target durations on the origin.

> When using BYTERANGE for partial segments, does the Availability Duration of Media Segments apply to Partial Segments as well?

Well, in most cases keeping a Media Segment available means that byte range requests against that segment are available too. But if your origin is peculiar in that it can make whole-resource requests available for longer than range requests against those resources, I would keep the range requests available for at least six target durations as well.


regards,

Roger Pantos
Apple Inc.

> Thanks,
> -Vijay
>  
> Vijay Jayaraman
> Staff Software Engineer
> Wowza Media Systems | The solution you start with, the partner you scale with.
> <image001.png> <http://www.wowza.com/><image002.png> <https://www.facebook.com/Wowza><image003.png> <https://twitter.com/wowzamedia><image004.png> <https://www.linkedin.com/company/wowza-media-systems><image005.png> <https://www.youtube.com/user/wowzamedia>
>  
> This message may contain confidential or proprietary information of Wowza. If you are not the intended recipient of this message, please delete and do not share or use this message.
>  
>  
>  
> -- 
> Hls-interest mailing list
> Hls-interest@ietf.org <mailto:Hls-interest@ietf.org>
> https://www.ietf.org/mailman/listinfo/hls-interest <https://www.ietf.org/mailman/listinfo/hls-interest>