[Hls-interest] Streaming Video Alliance Comments on HLS Content Steering Proposals

Jason Thibeault <jt@streamingvideoalliance.com> Thu, 08 April 2021 04:22 UTC

Return-Path: <jt@streamingvideoalliance.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 5424B3A380D for <hls-interest@ietfa.amsl.com>; Wed, 7 Apr 2021 21:22:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, 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=streamingvideoalliance-com.20150623.gappssmtp.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 nme7mKp73ZFv for <hls-interest@ietfa.amsl.com>; Wed, 7 Apr 2021 21:22:26 -0700 (PDT)
Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 523A93A380A for <hls-interest@ietf.org>; Wed, 7 Apr 2021 21:22:26 -0700 (PDT)
Received: by mail-io1-xd30.google.com with SMTP id x17so829401iog.2 for <hls-interest@ietf.org>; Wed, 07 Apr 2021 21:22:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=streamingvideoalliance-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=eYQwBSpeijbfNOvPgmH8bNS3/iucVzrsOrvIh+Yn2lI=; b=tlLONFerUXNOM1xt0STPhJEoHvVY9/SMvuoxpDHtyoBvve8Ta56yfNnViuGHQGysVY DqDuR6ki2TksrcnkAn9sb7cmpwRNb82wK/hSDPG2bo09SmaSTgtxohzmb+aqe8BOseP6 62CX0pYxO64tLNDeRXG0XpULle995UIMz5qJc/AEY5RWyb/3KJVkDheSc9vSDN7Ijr2o lDl0WuzLdsPP8z8EpmfJbMlpi56tWL2t0pn3+paltLmXiugnKV5PQkbViMHyLcSVBUsq Wl3z/9xvr7Pd29K+bwnXbsTP+y9FNKtHrBJBmTqhupBnA8798iQz0Kea9irQFRLO0R+2 WUtA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eYQwBSpeijbfNOvPgmH8bNS3/iucVzrsOrvIh+Yn2lI=; b=olhGiy8UEAmy5IirH06mzGKuiDyJ6xWS503BHm0Wmg6BKC7K3c79p2tu+X8nEucUHv +REWSDmLcY2PNoi6pk15VQnp5+YYpJHeTp/DYq0uUdfpr+OTPPEbB0DbJ3Sk921gy39E i9D1jOQaIQvQs6qvouh55UVzEq/2lWa5PSAZ5QT0MjkCJGDaMQLWMEActzy7Tw9B43qi YTyd4LBj1kM9TDOQPYLG/qW8eDhxJvhi85JVRfAjYIh3M9k7TfhjN4UwA0+pb0CFu3aL 7+WdrwVFiJYxAQZbqQqeRSRHFuRYJ1G6pKZRAchlAkDJ32MmYkKab5A0wrsYWGFKwzG9 pCpQ==
X-Gm-Message-State: AOAM531caTrtcHO+JSD+VIuzJmk/df2uZeEt9mnvRR13T2IyLZjMS2av J+2DsdD9ZTBqCbtMMC/81anE/L5X9wYlhYEF1DlgEjmNrokSoKtE
X-Google-Smtp-Source: ABdhPJzc2Mik+9q9Y6fkugzKJ7zjqVeycs6MIJjqzjcM4tQo39vIn1lZzBzlTYmv1rm6NNxYCa22x5eM0HU79m/STVc=
X-Received: by 2002:a5e:df46:: with SMTP id g6mr5302592ioq.38.1617855744088; Wed, 07 Apr 2021 21:22:24 -0700 (PDT)
MIME-Version: 1.0
From: Jason Thibeault <jt@streamingvideoalliance.com>
Date: Wed, 07 Apr 2021 23:21:47 -0500
Message-ID: <CAA__M0h+cq9ZrBjid33hL-JFVQ8L40cG=tB3DOrXRPPwvCKpVg@mail.gmail.com>
To: hls-interest@ietf.org
Content-Type: multipart/alternative; boundary="000000000000ecd65605bf6e6480"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hls-interest/snUJZBKUgW1qTFWRCRdQ3wkTPVg>
Subject: [Hls-interest] Streaming Video Alliance Comments on HLS Content Steering Proposals
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: Thu, 08 Apr 2021 04:22:31 -0000

Streaming Video Alliance (SVA) Comments on HLS Steering Proposal

The Streaming Video Alliance is a group of companies spanning the streaming
video value chain. These companies are dedicated to solving the critical
challenges facing online video to improve consumer adoption. Alliance
members have reviewed the HLS Content Steering Proposal 1.1b1 and the
subsequent Redundant Stream Steering Proposal (RSS) and provided comments
on both from the perspectives of our diverse membership (content providers,
CDNs, ISPs, open caching networks, multi-CDN management systems, encoding
systems, advertising insertion systems, video analytics systems, and video
player developers).

---- SEPARATION OF CONCERNS ----
* It is typical in multi-CDN deployments for different entities to provide
distinct parts of the solution. Manifests may be generated and manipulated
by multiple provider’s services, media segments may come from other
provider’s service, and CDN recommendation intelligence may come from yet
another service.

* The HLS Content Steering Proposal blurs the clean delineation of
responsibilities across these services, putting responsibility on the
Steering Service to generate CDN-specific path prefixes (and possibly
tokens).  A cleaner separation of concerns could be achieved by limiting
the steering service’s scope of responsibility strictly to recommending
pathways in a preferred order (as described in the Redundant Stream
Steering Proposal).
CDN-Specific Tokens

* Our most significant concern was initially about the inability to have
CDN-specific suffixes on the steering templates, precluding the real-world
situations where different tokenization schemes are used by different CDNs.

* While the addition of QUERY-PARAMS appears to address this problem when
tokens are expressed as query parameters, it still requires that the
steering server generates CDN tokens (see above: Separation of Concerns)
and it doesn’t address tokens that may be inserted anywhere in the path as
path parameters or segments.

---- IMPACT ON OPEN CACHING REQUEST ROUTING & EXISTING MULTI_CDN SOLUTIONS
----

* Open Caching Request Routing schemes (relying on several IETF’s CDNI
RFCs) can be configured to inspect and rewrite either main or media
manifests to direct traffic to downstream CDNs.

   - The HLS Content Steering Proposal may preclude the rewriting of media
manifest URLs in the main manifest, as the steering server also has
responsibility for generating media manifest URLs.
   - The HLS Content Steering Proposal adds complexity to request routing
based on HTTP redirect, as envisaged in IETF CDNI and SVA. It may, for
example, require steering server requests to be redirected to an open
caching controller for rewriting of URL prefixes.
   - To better support Open Caching redirect routing, the PREFIX attribute
in the steering manifest should be optional. For example, If the current
non-penalized pathway is the first in the list for which there is no PREFIX
attribute, the client would form the URL of variant streams attached to the
corresponding template in the conventional manner  (e.g. using the relative
URI).

* It should be noted that some multi-CDN solutions use DNS on media segment
hostnames to implement mid-stream CDN switching that is transparent to the
player. The HLS Content Steering Proposal’s focus on alternate manifests
will not break these types of solutions, but integration with such
solutions could be challenging.

* Compatibility can be maintained with client-side multi-CDN management
systems if HLS Video players allow client application override of the
steering server pathway recommendation (see Player Behavior section below).

---- SERVER-SIDE AD INSERTIONS ----

* SSAI systems typically generate ad loads at the time of the main manifest
request and persist session identifiers that need to be passed to media
manifests so that identical ad loads can be stitched into each rendition.
The addition of QUERY-PARAMS should be sufficient for allowing session IDs
to be passed on media manifest URLs.

---- PLAYER BEHAVIOR ----

In reviewing the HLS Content Steering Proposal, the SVA suggests the
following additions to the Player Behavior section:

* HLS Video Players should generate events whenever a pathway is selected,
exposing the PATHWAY-ID so that Video QoS systems can log CDN changes.

* HLS Video Players should generate events whenever requests are made to
the steering server, enabling Video QoS systems to log details from the
steering manifest such as TTL and Pathways on successful requests, and
error information on failed requests.

* For compatibility with existing client-side multi-CDN management systems,
HLS Video Players should expose an API that allows access to the existing
Pathway list and to force a pathway change (overriding the server-directed
steering).

--------------------------------------------------------------------

SVA SUPPORT FOR THE HLS REDUNDANT STREAM STEERING PROPOSAL (RSS)

The SVA supports the Redundant Stream Steering Proposal for the following
reasons:

* RSS embraces and extends redundant playlists (the existing HLS approach
for supporting multiple CDNs), and is backward compatible with any player
that supports redundant playlists.

* RSS provides a cleaner separation of concerns and simplifies the
responsibilities of the Steering Service, as it no longer participates in
generation of manifest URLs or tokens.

* RSS simplifies the HLS Stream Steering scheme by eliminating the steering
templates, prefixes, query parameters, and any code complexity associated
with supporting the template substitution.

* RSS avoids the token-generation challenges that have been identified, as
token generation for media manifest URLs remains in the main manifest.

-------------------------------------------------------------------

This document can also be found on the Streaming Video Alliance website at
https://www.streamingvideoalliance.org/document/comments-on-hls-steering-proposal/

----------

Jason Thibeault
Executive Director
Streaming Video Alliance
+1 480-399-2037
https://www.streamingvideoalliance.org
Contributing Editor, Streaming Media Magazine
<https://www.streamingmedia.com/Search/?Query=jason%20thibeault>
https://www.linkedin.com/in/thejasonthibeault