Re: [Sframe] Proposal: SFrame && SPacket && !SIDU
Justin Uberti <juberti@alphaexplorationco.com> Tue, 16 November 2021 22:22 UTC
Return-Path: <juberti@alphaexplorationco.com>
X-Original-To: sframe@ietfa.amsl.com
Delivered-To: sframe@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F9E93A0AB0 for <sframe@ietfa.amsl.com>; Tue, 16 Nov 2021 14:22:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
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, HTML_MESSAGE=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=alphaexplorationco.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 IL6OLKNjfBLh for <sframe@ietfa.amsl.com>; Tue, 16 Nov 2021 14:22:42 -0800 (PST)
Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) (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 A7D2A3A0A6D for <sframe@ietf.org>; Tue, 16 Nov 2021 14:22:41 -0800 (PST)
Received: by mail-oi1-x232.google.com with SMTP id bj13so1787487oib.4 for <sframe@ietf.org>; Tue, 16 Nov 2021 14:22:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphaexplorationco.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Zk3QpcDJLSlrS4xNVJ0jpaISIJ1ueOQYqg8L/10uY/c=; b=StVCepyk3NfHoV04yYQezJmqHuweHhXz3lHqzpRL902tDnBNSpdhoPrIpWgpKrhcsy FLl5fAZFpiZd6XRtUrOHQxDbwW7tpBodAaadE13qTZSAuQpnd0tvI1dCoFwLv5HCqH45 eqJuqIyYWICLLw7VwziYaoWJt5yOYRGmBF+Ei0UxkDubk0YoHntedBq7BLgrZMoBPlj/ j8b31T4gdPjQXtNxKwbkiIU9AeZ62AaLwBWyhUfr87kZ8GR4kopdNdJABYsQShVZ6PrF hf/xDgn8WNNKDesD9uV+JE52Fft/hS+8NmFrE/wPvTj6HsENzv38P5Hlg89MjulWOxap j3VA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Zk3QpcDJLSlrS4xNVJ0jpaISIJ1ueOQYqg8L/10uY/c=; b=1pV4fKwvJRSfxqmLCdse1P0s9522ErAC+EntLrJ5HokDrD9fOq/gCr/EYLY1pdplmc mFAJe4r8FgxQhLrpsP/ouJNEVtDxo5khlTu+8uYw4X72mCDJ7NV/S6cyQGBObaaDyJ8a p0v3vNe9fYbrBeDrkewjCDPW4lPbQW3pJP/B/q7kZMcEgDhP6y9LvGCDbDxBig9Im6Vd tkVgfPV9P8g/RSofERxQBEtMVkzotvLhBjllY5EYQGESRX3c4dC3YfdQgHd+tTfj0yPj xzu2AO/G2h8/Iu2Pgmb/H70YxPi0bezd4sXkT93kZwNkfvilSsbOp+NzT9rsrDYdJ/Gq 4EPg==
X-Gm-Message-State: AOAM533f6lDJSi+69uuBnHJhjq/plWEUCMjgwvO80eQeRsHy+l8OM0wf WLxXt0YvhXFJzg3P+LvzmxkwKaguzbuVg0PSL0Xf7Q==
X-Google-Smtp-Source: ABdhPJwDVMO2Bucw+DPr21rqAxaHacp7bLjXnV+0F70dT/+LrLLjV9CYfqh6QiUsncQS+LIb/db0CJSdMs5n4cjEmSw=
X-Received: by 2002:aca:afc6:: with SMTP id y189mr30600552oie.46.1637101359869; Tue, 16 Nov 2021 14:22:39 -0800 (PST)
MIME-Version: 1.0
References: <CAL02cgSytJSLPziTzTOAQZFke47YrhdS381b4OmqcMPM1=Nzbw@mail.gmail.com> <CANRTqcNATCQcSyTr9Vcs3Y9uMJ1f_4FDKGo6idF9D+9ae+SX9g@mail.gmail.com> <CAL02cgRmgOn1bvzLY4aFojYh306O6-BxJ3B_5Agq5KVEypACSg@mail.gmail.com> <CAOLzse1pkHGK0Nfyy9iT7yPHGdShwPYjL-CUPqMputC=Z_QYiQ@mail.gmail.com> <CAL02cgQJF8xz3eXK9ytoujuH2kB8z0yUb8T4wmz7tnu57eNdCQ@mail.gmail.com> <CAL02cgRKFr84BvBW3PfSZGG+mhkQqP4E3J+AGMB1Fwqo+TkVEQ@mail.gmail.com>
In-Reply-To: <CAL02cgRKFr84BvBW3PfSZGG+mhkQqP4E3J+AGMB1Fwqo+TkVEQ@mail.gmail.com>
From: Justin Uberti <juberti@alphaexplorationco.com>
Date: Tue, 16 Nov 2021 14:22:29 -0800
Message-ID: <CAOLzse06ixUHt-igiuegvxp8rBPcefn6gQb-VpnnnrDbwvP=Tg@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Cc: Sergio Garcia Murillo <sergio.garcia.murillo@cosmosoftware.io>, sframe@ietf.org
Content-Type: multipart/alternative; boundary="00000000000004466705d0ef5d9e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sframe/Jb9KoXouS0iNr3hm9HGgCGKv3kw>
Subject: Re: [Sframe] Proposal: SFrame && SPacket && !SIDU
X-BeenThere: sframe@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Secure Media Frames <sframe.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sframe>, <mailto:sframe-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sframe/>
List-Post: <mailto:sframe@ietf.org>
List-Help: <mailto:sframe-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sframe>, <mailto:sframe-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2021 22:22:48 -0000
Here I am referring to the discussion in avtcore surrounding https://datatracker.ietf.org/doc/html/draft-murillo-avtcore-multi-codec-payload-format . On Tue, Nov 16, 2021 at 1:35 PM Richard Barnes <rlb@ipv.sx> wrote: > BTW, if there are going to be SFrame-relevant discussions at other WGs, it > would be helpful if folks could post notice on this list. Maybe I'm the > only one not really following other media WGs, but I missed whatever > discussions at the recent IETF you're referencing. > > > On Tue, Nov 16, 2021 at 4:33 PM Richard Barnes <rlb@ipv.sx> wrote: > >> Specifically, I mean the things that are AEAD-encrypted. >> >> My mental model is that there are two moving parts here: >> 1. A general SFrame encapsulation, defined in this group, that takes a >> "unit" of media data and encrypts it with an AEAD cipher >> 2. One or more ways to apply that encapsulation to a real-time media >> stream. >> >> Since AEADs deal with discrete quantities of data and not streams, one of >> the things (2) has to define is how to divide a media stream up into units >> that are fed into the SFrame encap/decap algorithms. (In other words, >> between which layers in the media stack you put in the SFrame layer.) And >> on decode, you need a way for the receiver to recognize when SFrame >> ciphertexts begin and end. >> >> For SFrame and SPacket, those answers are pretty clear: >> * For SPacket: SFrame goes between packetization and SRTP; ciphertext >> begin/end = packet begin/end >> * For SFrame: SFrame goes between encoding and packetization; ciphertext >> begin/end = packet begin/end (with generic depacketizer) >> >> Those answers would be appreciably more complicated and codec-dependent >> if we try to develop an SIDU approach as well as SFrame/SPacket. Thus my >> hope of ruling it out of scope. >> >> --RLB >> >> On Tue, Nov 16, 2021 at 1:51 PM Justin Uberti < >> juberti@alphaexplorationco.com> wrote: >> >>> Richard, when you talk about "units" here, are you referring to things >>> coming out of the codec? or the RTP packetizer for said codec? >>> >>> The recent IETF meeting ended with some confusion as to this specific >>> question and it would be good for us on this list to make sure we're all in >>> alignment. >>> >>> On Tue, Sep 7, 2021 at 12:46 PM Richard Barnes <rlb@ipv.sx> wrote: >>> >>>> I'm not totally sure what you mean by "spatial frames" here; looks like >>>> the notion varies some by codec. Assuming "spatial frames" are frames in >>>> the sense of "something that comes out of depacketizater", I think we're >>>> probably on the same page. >>>> >>>> Maybe it would be clearer to state the proposal as: Encryption is done >>>> in units of whole RTP payloads. One payload for SPacket; all payloads in >>>> the frame for SFrame. We would not support cases where an encrypted unit >>>> would span a partial RTP payload. For example: >>>> >>>> NOT OK >>>> Payload 1: First part of SFrame unit A >>>> Payload 2: Second part of A, first part of B >>>> Payload 3: Second part of B >>>> >>>> OK >>>> Payload 1: SFrame unit A >>>> Payload 2: First part of Sframe unit B >>>> Payload 3: Second part of B >>>> >>>> Does that line up with what you have in mind? >>>> >>>> --Richard >>>> >>>> On Mon, Sep 6, 2021 at 2:53 PM Sergio Garcia Murillo < >>>> sergio.garcia.murillo@cosmosoftware.io> wrote: >>>> >>>>> Hi Richard, >>>>> >>>>> Just one minor comment, the "media frames", should be spatial frames >>>>> if SVC is used so an SFU is able to not forward all spatial layers to the >>>>> receiver. Apart from that, I am ok with removing "SIDUs" from the scope. >>>>> >>>>> Best regards >>>>> Sergio >>>>> >>>>> On Thu, Sep 2, 2021 at 10:20 PM Richard Barnes <rlb@ipv.sx> wrote: >>>>> >>>>>> Hi folks, >>>>>> >>>>>> I'd like to see if we can agree to limit our scope a bit. There has >>>>>> been discussion of multiple levels at which SFrame could be applied: >>>>>> >>>>>> * "SFrame" - Whole media frames >>>>>> * "SPacket" - Individual RTP media payloads >>>>>> * "SIDU" - Some codec-specific "independently decodeable units" >>>>>> >>>>>> I'd like to propose that we take "SIDU" off of the table, but keep >>>>>> the other two. >>>>>> >>>>>> It seems like SFrame and SPacket both have strengths in certain >>>>>> scenarios (depending on how you want to trade off bandwidth vs. >>>>>> complexity), but they're both pretty straightforward in terms of how they >>>>>> integrate with the media processing pipeline. In particular, they don't >>>>>> have any codec-dependence. SIDU, by contrast, seems like a world of pain. >>>>>> It requires that the encryption scheme be entangled with the codec, which >>>>>> requires special per-codec integration logic in the specifications. And >>>>>> the bandwidth gains for all that complexity are not that large. >>>>>> >>>>>> Is there anyone here who feels that SIDU is something this group >>>>>> needs to spend time specifying? >>>>>> >>>>>> --Richard >>>>>> -- >>>>>> Sframe mailing list >>>>>> Sframe@ietf.org >>>>>> https://www.ietf.org/mailman/listinfo/sframe >>>>>> >>>>> -- >>>> Sframe mailing list >>>> Sframe@ietf.org >>>> https://www.ietf.org/mailman/listinfo/sframe >>>> >>>
- [Sframe] Proposal: SFrame && SPacket && !SIDU Richard Barnes
- Re: [Sframe] Proposal: SFrame && SPacket && !SIDU Sergio Garcia Murillo
- Re: [Sframe] Proposal: SFrame && SPacket && !SIDU Richard Barnes
- Re: [Sframe] Proposal: SFrame && SPacket && !SIDU Justin Uberti
- Re: [Sframe] Proposal: SFrame && SPacket && !SIDU Richard Barnes
- Re: [Sframe] Proposal: SFrame && SPacket && !SIDU Richard Barnes
- Re: [Sframe] Proposal: SFrame && SPacket && !SIDU Justin Uberti
- Re: [Sframe] Proposal: SFrame && SPacket && !SIDU Justin Uberti