Re: [Sframe] [dispatch] Magnus Westerlund's Block on charter-ietf-sframe-00-00: (with BLOCK and COMMENT)

Magnus Westerlund <magnus.westerlund@ericsson.com> Fri, 11 September 2020 11:19 UTC

Return-Path: <magnus.westerlund@ericsson.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 CC7233A0EC5; Fri, 11 Sep 2020 04:19:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 gTv7stk93cPb; Fri, 11 Sep 2020 04:19:30 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20049.outbound.protection.outlook.com [40.107.2.49]) (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 DF9C03A0486; Fri, 11 Sep 2020 04:19:29 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hVhVK4q+6B7BWrjIYjwKUuIaSUoKeaFBE8gjeElfZSw4sYtpXElwRMRZAQ6488a6W2mJuGrhsv17+JipTzKVW69FB0cO3lfX6GGgTOWFmm7XaXbhaXzDcuz34C/ZKAeRI++VwvE7zjk5Ec3PD7ea2jsLXoFYGk6dP+0FPebmEDWFOaYz/YPJy5kC8aZTPW2gjeXNly3mj6fSCf7MfmK3nZMplL0ziYCFdeeOrAi9lcOiPzmjImU1Mgo4J/A0gUXHj/fJbf/AUBKvqBPcl/1S42Txof7SrlBTPCl+rfbJp5cdNLZWuFtlYUwruWAng8OzA7BPXTUQ8+Doz2s1jnB9rA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FjvIqEE96b/y3r5JqzArmWpeoC2Dlt5Up5GRufZoBI8=; b=OuRwNREnCze992SX+iGmSTxPTFEo2grUI94nqR6urSpt7IOykmM+ag50CpYZf+AM3qSzqmGqhw8TDyI5bXvXhOZx330/FhxuC8BbPLIWBuUkPFSod3yoOaBt33RI4M/3tQ5wUe/Br/wJuTlny3LPe4dx97PE2ig8iHGg1MQej3Ybw5QwWiZ5hEon2pZNvfVIX359HCv2tfnM753SmrMEF9q9OWojC66agcvlb/OPPh1T0IK1Y+ARBNAc1U3yz5IZ11erDzwPHukK58s2RlxKLYcMf4cBq3ap1pR/LPA8BGz0pW6kUgiL7dF3qZgJ88PILCnhFoefih3TJvBTqi+Qyg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FjvIqEE96b/y3r5JqzArmWpeoC2Dlt5Up5GRufZoBI8=; b=XTPR8nhWtwrbQ2VhqllW69+CxsyGEX5+5noHb4/eLUa6pDUbe+SIujS/t6/7Vr9jdwu1WyUJWuQqPn6C59KjbzNvf7VTzlge79YxR/MrACG7DYi2nNN0WLEydvEjrBNilt2AujlblmvkjfWMfb6ZRHwN5rRs2qQOBAvCoT9YffI=
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com (2603:10a6:7:8e::14) by HE1PR0702MB3770.eurprd07.prod.outlook.com (2603:10a6:7:84::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.6; Fri, 11 Sep 2020 11:19:26 +0000
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::b56f:9a8e:3399:aaa3]) by HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::b56f:9a8e:3399:aaa3%7]) with mapi id 15.20.3370.016; Fri, 11 Sep 2020 11:19:26 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "sergio.garcia.murillo@gmail.com" <sergio.garcia.murillo@gmail.com>, "magnus.westerlund=40ericsson.com@dmarc.ietf.org" <magnus.westerlund=40ericsson.com@dmarc.ietf.org>, "sergio.garcia.murillo@cosmosoftware.io" <sergio.garcia.murillo@cosmosoftware.io>, "rlb@ipv.sx" <rlb@ipv.sx>
CC: "sframe-chairs@ietf.org" <sframe-chairs@ietf.org>, "dispatch@ietf.org" <dispatch@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>, "sframe@ietf.org" <sframe@ietf.org>
Thread-Topic: [dispatch] [Sframe] Magnus Westerlund's Block on charter-ietf-sframe-00-00: (with BLOCK and COMMENT)
Thread-Index: AQHWhTXfuLaYkFC4LEWqC8j5AGiLAKlh8DkAgAASwICAALgzgIAAV8mAgAAoYICAAA/A0A==
Date: Fri, 11 Sep 2020 11:19:26 +0000
Message-ID: <HE1PR0702MB3772BEFD51DAB83AC64A252695240@HE1PR0702MB3772.eurprd07.prod.outlook.com>
References: <159949693494.2875.16993532753477402380@ietfa.amsl.com> <CAL02cgS=y7mBt10n+jCGwUoy54eeH9ZXFijQdDSKk5Qt9mNrUw@mail.gmail.com> <e0b5dc1c04ab6b5cee2c88b5b1b348d7c70a5d4c.camel@ericsson.com> <a3fbe87c-d60b-23f1-2968-c7ac6ad50ea4@cosmosoftware.io> <5c6c96621b29ebf4b1f84e53ae3a414c9d0ec3a5.camel@ericsson.com> <05085c6c-0c30-a407-8f41-b6c9be8100bc@gmail.com>
In-Reply-To: <05085c6c-0c30-a407-8f41-b6c9be8100bc@gmail.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [158.174.116.90]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8b0da932-423f-467d-a7a6-08d856448b1e
x-ms-traffictypediagnostic: HE1PR0702MB3770:
x-microsoft-antispam-prvs: <HE1PR0702MB3770B52EC93B2C375A652A6C95240@HE1PR0702MB3770.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: uHp1Sy7jKjuNuIZ7AGcCdJpm8tnhG0Ma+3k0Y7cHBSqGj69eBr5vcsqWhJbGALiXQetEp5pjWVkZEkDcR81BaHiYHRwNw92RkgzMSvrCN/Snm0NnJHUNBaD6q1wtzao62aTxsJObloHhBLqCE0hrNTZri2zpvGOzyOPWZTx8CBp4RpGmOuoVBXgJvT9NpDwledshg4OAp4Q9e81+vA8eA9ajDOsOwI0BSEi2cFPdQVh8clqREqsmNPY/2lTJ0VyZhYGvNkbp6yIv7ALun1SiOy6S2cOPbDk3j9XKpkALP56Fu91x7ylQpL/9AEz5SLgQsxduyhONDs5w6FAbUXesiA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0702MB3772.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(136003)(376002)(346002)(396003)(76116006)(66946007)(66616009)(66476007)(66556008)(64756008)(4326008)(66446008)(2906002)(8676002)(7696005)(9686003)(26005)(52536014)(5660300002)(71200400001)(55016002)(33656002)(6506007)(54906003)(110136005)(478600001)(44832011)(8936002)(316002)(99936003)(83380400001)(86362001)(186003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: UCCbUrDO3JQ4xrwa4gUiGw5peOp5dg3i6Z5OlaUtxIuGsKFVjwCSGRXF+Al0/02ctPrU7YdQMA6bAWqtIvpJJW4nnL4/n0bZG9Mv9Xso99M5k4XGy6N3357pkZ/Byz5jwPeZ7XUWcAATxOGq17Tyn+WnyRvSEejKJU6LsdFHbt6KpJSD0UPGkWLrh6cgHMMDI9MDB0qt5RileionXaphKm4+89nyLquM4mKt2VJqbMtNVAsR59fgeHeh8e5xijJ5HvGJ7hbd4DTMNuYdSnIz3zgIxjcogrjs4h7Eaf/m5KgXS4qLzJ5ibI6lz4ApVQJk40DZCJ9HBDFE5ILgicyN82LVj/i7Q9z/oeiGU76AUyLSQwrtX0IEUR/gTKuMmTEsRbSSqim0V6PYl1LD74pCQrhqZqM653YIsBL3oURxxiY6uqgcyqaiR2AeXqPrmd1dG7j3Cb5FKM76qcxvePvkIk1U82BEri47Odb8MtzNS+ddqJj98kLq440NlSJhR7zhPmkLHEp/u6Wosy8jD5Q7ZDNW8o5EW+IHJ7tU+B/fCcfcUrpdp4cie2KmPDDJ8Yep3ZEJK2Nh00V+zUi49cDuQ8+F7Z/SfzSmFADyn0B4R0mFUU7419QjshpieyceHqdaSOtfOt1KMDpOH+RPkw8aiA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; micalg="SHA1"; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_004B_01D6883E.2B29D500"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0702MB3772.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8b0da932-423f-467d-a7a6-08d856448b1e
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Sep 2020 11:19:26.3202 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 8KBPwgocBGTAQfWRhouC48VWoaHd3MnDpAFqqQiynGO6dcqhdgv7LCkOoOy+BD6tF02VLaftoRHcWh0wwOh7mMXZTqWWIuJlcemY7q4dFp4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3770
Archived-At: <https://mailarchive.ietf.org/arch/msg/sframe/70rxK-u3t7km8i0qUBpdyUPeSs8>
Subject: Re: [Sframe] [dispatch] Magnus Westerlund's Block on charter-ietf-sframe-00-00: (with BLOCK and COMMENT)
X-BeenThere: sframe@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <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: Fri, 11 Sep 2020 11:19:32 -0000

Hi,

> > So do I assume correctly that the idea is that the application layer
> > using SFRAME if it haves multiple independent or sets of dependent
> > streams there will be no support for that aspect in SFRAME layer?
> > Instead it is up to the application to put such information to either
> > put it inside the encapsualted part of the SFRAME or map it to the
> > lower transport layer, like to RTP SSRCs and extension information.
> 
> 
> If i understood you correctly, SFrame is kind of agnostic to the media
> streams. Currently it has a single global frame counter for all the
transport, so
> the number of streams/dependency between them is not known/needed
> by SFrame.

Yes, and when using a multi-stream application with layered encoding being
protected by SFRAME and transported over RTP with repair functions the high
layer application will need to have a model for how it maps individual
SFRAMEs to RTP layer functions to enable them to do their work. You get a
very limited functionality if in an SFU system tries to send all over a
single RTP SSRC. So this becomes a discussion in the RTP Payload format
context when carrying SFRAMEs. 

> 
> 
> >
> >> However, if the encrypted output is going to be transmitted over RTP
> >> using a new packetization format, we need to address how to negotiate
> >> that in the SDP.
> > Good
> >
> >> Note that this new packetization format will not only be alid for
> >> transporting encrypted frames (SFrame or not) but even any other
> >> audio/video frames.
> > I understand the potential exists. However, the recommendation for RTP
> > has been to try to consider Application Level Framing. In the case of
> > SFRAME that consideration moves up above SFRAME in the choice of how
> > data is split into SFRAMEs. However, having an RTP paylaod format for
> > SFRAME, then that should carry SFRAMEs. If you starts putting in other
> > binary objects into it, then you create a new demultiplexing point for
> > format between the RTP payload format and the SFRAME processing. That
> appears unmotivated.
> 
> 
> Note that SFRAME is not the only encryption possible with w3c insertable
> streams, it is up to the application to define its own crypto if they
want. So
> the payload must be able to transport non-SFRAME opaque blobs.

So I would consider this a misuse of the RTP payload format. The media type
will be for SFRAMEs. I understand that you might not be able to prevent this
in WebRTC. However, from an interoperability point of view you will be
stating that this is SFRAMEs. RTP will not be able to tell a difference. But
I don't see that this is will explicitly support carrying other things than
SFRAME. Because that means bringing in other consideration including the
security model for the E2E usage. 

> >
> > Should the RTP payload format aspect of the charter be more explicit
> > in that it needs to disucss the general model of how to use SFRAME and
> > how an application can use the facilities of RTP to get good
> > performance from RTP mechanism like FEC and retransmission?
> 
> 
> I don't think so, RTX and FEC frames MUST not be modified/affected by
> SFRAME/the new packetization format, so they work out of the box. We can
> be explicit about that in the chapter as a requirement.
> 

So I am not saying that RTX or FEC shall be modified. What I am saying is
that the SFRAME payload format should discuss the impact on the performance
of these functions depending on how you structure the SFRAMES across SSRCs.
The most simple example is the one where you put all layers for a video
encoding in a single SSRC. In such a stream you loose a single RTP packet
between the transmitting end-point and the SFU. Now the SFU is only
forwarding the base layer and not the enhancement layers. If base layer and
enhancement layer share RTP stream, the SFU can't determine if the missing
packet contains an base layer data or enhancement layer data. If the base
layer and enhancement layer would be on different SSRC, the fact that there
is a missing packet on the enhancement layer RTP stream means that the SFU
can ignore that as it anyway are not forwarding it. This same argument can
be applied between media sources. So how you map your application level
structures onto RTP do matter for the resulting performance of RTP. Putting
all on a single SSRC is not a path to good transport performance. 

Cheers

Magnus Westerlund