Re: [MMUSIC] [AVTCORE] RSDP directorate review of draft-ietf-avtcore-rtp-vvc-14 - SDP examples

Stephan Wenger <stewe@stewe.org> Wed, 13 April 2022 16:25 UTC

Return-Path: <stewe@stewe.org>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 210183A170D; Wed, 13 Apr 2022 09:25:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=steweorg.onmicrosoft.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 P2-HyyMsiJfI; Wed, 13 Apr 2022 09:25:26 -0700 (PDT)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on20719.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e89::719]) (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 D6A483A1747; Wed, 13 Apr 2022 09:25:23 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MyXgr4iGtMzjPhVRsy3TBpz2kktuvVwJ3y+S9naUVlamzQPAziG+bi4+CBZ3SqFsqNu3lKwWk29HSluzwc6ZAuLSt3s7JY2tTaJ5QodY3qpwTHQbH/P2JC3j1RI87jPPA7X3CSN4q8cfGE847i6pmyAR3sDw7Mv4guzFOtoWdNOqHi2dED3QmBqQyXrv6zaV8VWEBNhz4XfNS+6HLUrR94j2eBNyQ5FbBcV7t4TO+C/Gf6EyHQhslWj0YZcqUcEhZmx4tIEFFGj6xxHvET1FkBLV6Gs2Zkr8GEvdQ4nLhknmAqwqmz5lXJz91b9MdX4XTjhJqFeJG6qFDekhfz7d5A==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=j17Nhgwuf0SdN99VJ7BxAGSNKIadr8fjGsrzwQQdZMs=; b=C7giPjDiiMuBTM9sv9E585Fa/Dt3W5sBujbkREFbIqDS/3X0U58ujmnQnJyCAakEIfcs9bpvi4VNOwzoAHIEc6vMvW4p78iEinUEG/9SgVGcwPOO77KizEy6I8QENM3UvZpF3BcuIlEJdn+eAqUwn2S04jD2QtpzqFakXVbIG+jfcVcZFfENzAeiB9KwSphJVI2itnn2YtgAdlQisovdKJIp+gvmq0BUB1K4p/g2oDISWTrMy1gbvpU8vwhXDqjUQCaElhQN6scaa85MwoxNjWCxrT8VP1ao9F3pIAlir/je7rzZYdNd2TfiI0QFik57OOGxW6/zlugLIIohQlCaTg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stewe.org; dmarc=pass action=none header.from=stewe.org; dkim=pass header.d=stewe.org; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=steweorg.onmicrosoft.com; s=selector2-steweorg-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j17Nhgwuf0SdN99VJ7BxAGSNKIadr8fjGsrzwQQdZMs=; b=f3moi/i+DD0xshv7Ts13JE3j+RdIb0gK/2pcKzXjIOSjBmPVHnQTHHV0MZCh+VzZnUdhonCv37/WqcibnbtZch/acZxPytWuohBBzWn1Frqh5Lhv4R79mcaVKy4Gc54sEqzDfbKbRLY/N+wqNYDcI+vEo5FepFZ26803ic1AIiM=
Received: from SA1PR17MB4628.namprd17.prod.outlook.com (2603:10b6:806:197::23) by BN6PR17MB1364.namprd17.prod.outlook.com (2603:10b6:404:88::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.30; Wed, 13 Apr 2022 16:25:18 +0000
Received: from SA1PR17MB4628.namprd17.prod.outlook.com ([fe80::b447:f4d2:ffe7:6368]) by SA1PR17MB4628.namprd17.prod.outlook.com ([fe80::b447:f4d2:ffe7:6368%7]) with mapi id 15.20.5144.030; Wed, 13 Apr 2022 16:25:17 +0000
From: Stephan Wenger <stewe@stewe.org>
To: Christer Holmberg <christer.holmberg@ericsson.com>, Bernard Aboba <bernard.aboba@gmail.com>
CC: "avtcore-chairs@ietf.org" <avtcore-chairs@ietf.org>, "Hannuksela, Miska (Nokia - FI/Tampere)" <miska.hannuksela@nokia.com>, IETF AVTCore WG <avt@ietf.org>, mmusic <mmusic@ietf.org>
Thread-Topic: [AVTCORE] [MMUSIC] RSDP directorate review of draft-ietf-avtcore-rtp-vvc-14 - SDP examples
Thread-Index: AQHYT1MQcnQp5ywW+EyPQKYMxMU2GQ==
Date: Wed, 13 Apr 2022 16:25:17 +0000
Message-ID: <02A1A9B6-89AB-4118-B31D-7BE9B9D31BD2@stewe.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.60.22041000
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=stewe.org;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 84af0919-7129-4f4a-71ca-08da1d6a32a3
x-ms-traffictypediagnostic: BN6PR17MB1364:EE_
x-microsoft-antispam-prvs: <BN6PR17MB13646203F3370A25BEF7D96BAEEC9@BN6PR17MB1364.namprd17.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Kdy0bTY+DECcfr4n5bLfRf9pejbH+ORA51yK5WHQiFCHwRJseJxZaSc4Md4cNHJ/G/raOEMOxRzU+T7X7MOPoJ1SG4rLHQRg1xZhFvosA99bmPsL1uRD82MT2VPwQWsspILIYrJwkCAQIDU1XSwgK9Cw3DysfpuW1pTxwWDKn0FKE1ppeZEsTxEhJINBxY/4czpM/NSjEIx9wJ5prxzXUnHcxTLGINtK7eiSggEOQYLU20kRLK2e3jzQxa2Q0aYBUs4/7t1Cjz28WTA3eG7jdMnLtqWy3wby+wkm4Bn6RD/QhO9/yOI+tdOlUydQXE/5jSV6hL90VFaoefEL3746AS+8SnR4KtVL4zsvuIyfN9pCO45fjneCut4ehToCLGy4Fe4WRx8uTB/LZVjz1WSoBH00Sq+nveU9QVGkZmEnfpWDhJ3pJGTJXNEzZNyS9mLXIaB4dV68vRWNfR2GGtZJEDcumrbxAMNOaOhk50RFHek7J2Ez4hbxbUWRMmd9t2myXJUeQT/COWOJf++LN1yDN4HD7K54k4ZCJIS3qtYfXL569fr8643qWN07Pr0G0pvLVzHsUr45cvNhFED/Op+LxV2aN3KQieKPZyayT8CLQI5Qmsq/qtbnWj1z993hIgVo7axeQMFnCHoZVyzoDVdayv0Hc9wyARBkLcs645gBY2wF0jQ813J+7qrq7wDaLbKjDGdbVg0XhmN95Z3swQAflYsJTcDJW6fAb4uSDgMVjJjPr0Deg7NTc22r+66sd3Zq4dPbcDAWoHEcAST5vtFon6rhbUkgy4HXpG7R2Hnc77xiSNl0bvIScPKl6kiIG4an
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA1PR17MB4628.namprd17.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(376002)(39830400003)(396003)(346002)(136003)(8936002)(66446008)(8676002)(38100700002)(4326008)(53546011)(66556008)(6486002)(66946007)(76116006)(66476007)(122000001)(508600001)(83380400001)(110136005)(54906003)(36756003)(64756008)(2906002)(166002)(6506007)(38070700005)(91956017)(86362001)(26005)(186003)(966005)(30864003)(33656002)(316002)(71200400001)(2616005)(6512007)(5660300002)(45980500001)(579004); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: yBMBVMZYKecEealp0ObPfRbzGJz2tgIWDwzibJOqNfsfDz1VdwpvILOtkIhrOFDgvlEDxA6x+mjW/JwS8hpI0oU+h4h7uAlB5toNjs8crrm43/xyGsSyoJesJgu/t9iGjAxFwwmYBv2WmzD+VIPlH48E2iyNsMOgOL+jYcxRw1vYR//ysA6b9P7bbdUvrPTQlIRu1HlSfjTJzdUihF5pgE4IC1gks/SWFatGOpPUfRK+uEGr+dhr5FFwIAMnBtJslYV3HlafEl8lxQrNoNIO1QsGxVtCjH55ki83cnUZnS2lZkuTi7vGdeXrOqe+d8mLIl/c2ZYQ4GPMWMgacpd6bLOhQEM/jnCsCXIgHaaFWfGbXXMtugmNd+664xs+zl13jhjm/NV1hwiDsHRu4Un42O11clr+elpsBdKvMqp0dJUoBPp33EMNVLBC5flKDupa3eJvErob0/4nzp0iNNzdyRuKws1GiwjKNw7G5fNHHQJkRIKXq1I1zybWO0wHaEwzBCuqB5v31ZI/X3VbQFg4cQayahOkSS8OlTteeUWRwwygjz4q75l5IShLFGpNyJhPW356ZIgZgFSyZP8Qj9FB+e8wHAFvYejUGiJZB8YUPDh7Qd2EFb7MwowI5xgt8AHHZUIh9obDNLOVORdddUZ0qYAMugPRPGuCBtQ+LPDNmDij4l5GKS1i428nrb8RR6ZmPC6qsoNjkOTM7v5XJQBm2xU75YE1zCGO7mougxHupsvCl9JyUw/6hdil9WQ/YlZohlFWBTLgnpV6GFSIAdSQYNmg9HkmPjxh7ekcPX2+rdqOOTNDs3kCCHYGbZU+LLbRKsGMUm2SHvRZlKjjK2HzfamAtRCeifelFOOVrrF7CGvlsS3+V5nCDtE+fTPW+1IJVdbX2nXItveOenXp8J2rjs41sA0CVc6J/6A4k3mBrUXtWbHXEzFJcZ9mCBn27QZZ8yUSVLLlT4bh/qjxUpvLqbmLoH6rAjCLfB7E0Jgc7ObrNx8kdCo1Hi0b12WM4In4DMwakuuSuoyXz0IkmpCEXHMrpQLpUCObHY9OPSKY+Bd57uYAuPfpOZjsX3UsMsva0Xq/Ku/lJ37OtUNDTRrcXd+JTh2ySnWBqKaZR3MkK7A97k1NHsmq8CSGV2o4bAGl0v9yOuYYBZcKzOmDnc4A5zuK760HjMqcd+gH854NxKTlDkHrca8+nkPM3+ahBRoxcKsmPO9lPpVBIebLq6Wpcny0I5fyd/DMD36FZBh62I4f7cbpSJn6q1laSePmtx13pRlToJ0pVA5UigmiCnH1bAJn/dZmAhgGMKEs7bx3OQBCR92f5LX9WzheWJnXsQcaF5Aq+ERgQzht+b9tFGWzb6qckoeS0sIiybFf5NfD6/RauCWx+qPgMJrLRQo/ZJZGEUvqy52r6ynHP2IX7VoXVbA1TYU1IayB+/nXdjAyVIP8vdaKBAWnQHxbfGABlPdVbVJf8H9p3WBNt8Tgf69DrAcnceQJR7GSgjPUhddAmLouHe5Y95LsNBHtBESEI711k9lsTdR8ohud1ocYyPSa/cQ+6UhtmF8AJMHUxubU7xvtLS8eu8eQDJPM954MH2jWrzEdKjvQW0grWJvnzlsaayJ/USiTyqKagqr10PcLkwGB3LpYHFSGsipkBpH0hhRYyjiJiKiZ+GG4u2sU5WqeglQqQlv3sZUpX4wdu0Kk2o62waAqqMds4DlD56GaNgdhgu1mKlvyPrLIS1ke4l9zHQ==
Content-Type: multipart/alternative; boundary="_000_02A1A9B689AB4118B31D7BE9B9D31BD2steweorg_"
MIME-Version: 1.0
X-OriginatorOrg: stewe.org
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA1PR17MB4628.namprd17.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 84af0919-7129-4f4a-71ca-08da1d6a32a3
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2022 16:25:17.9032 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 865fc51c-5fae-4322-98ef-0121a85df0b6
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 0h74pcan4tgzLNqLno59cxdG+xRRiLK1lip9mAyTdWLcSXnAdpPfK3ShdmO7ipl3
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR17MB1364
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/7ueM_piugqFPNKUQqVlWnWIPoNY>
Subject: Re: [MMUSIC] [AVTCORE] RSDP directorate review of draft-ietf-avtcore-rtp-vvc-14 - SDP examples
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2022 16:25:33 -0000

All:

I don’t think I have seen a reply on this “disposition of comments” (to use ISO jargon).  To summarize my suggestions, I would prefer not to add examples except a simple O/A exchange.  And that example can be found below.  Is that agreeable?

If we don’t hear objections within a week, we will move forward under the assumption that it is.

Thanks,
Stephan



From: avt <avt-bounces@ietf.org> on behalf of Stephan Wenger <stewe@stewe.org>
Date: Monday, April 4, 2022 at 08:23
To: Christer Holmberg <christer.holmberg@ericsson.com>, Bernard Aboba <bernard.aboba@gmail.com>
Cc: "avtcore-chairs@ietf.org" <avtcore-chairs@ietf.org>, Miska Hannuksela <miska.hannuksela@nokia.com>, IETF AVTCore WG <avt@ietf.org>, mmusic <mmusic@ietf.org>
Subject: Re: [AVTCORE] [MMUSIC] RSDP directorate review of draft-ietf-avtcore-rtp-vvc-14 - SDP examples

Hi Christer,
Thanks for your comments, and please see inline.
S.

From: Christer Holmberg <christer.holmberg@ericsson.com>
Date: Monday, April 4, 2022 at 07:05
To: Stephan Wenger <stewe@stewe.org>, Bernard Aboba <bernard.aboba@gmail.com>
Cc: IETF AVTCore WG <avt@ietf.org>, Miska Hannuksela <miska.hannuksela@nokia.com>, "avtcore-chairs@ietf.org" <avtcore-chairs@ietf.org>, mmusic <mmusic@ietf.org>
Subject: RE: [MMUSIC] RSDP directorate review of draft-ietf-avtcore-rtp-vvc-14 - SDP examples

Hi,

Note that I am not asking for a long list of example – I think there should be at least *ONE* example of an offer and the associated answer :)

Adding one example is not a major burden for us, but I don’t see much value here for the reasons already stated.  If the decision were to add one example, I would suggest the following (please see also the anecdote below regarding possibly more complex examples):

The perhaps most common outcome of a capability negotiation in video is down-dialing the “level” (pixel over time processing capability, corresponds to maximum resolution/framerate) based on receiver capabilities.  We could include a simple example where the offeror offers level 5.1 symmetric (hence no max-recv-level-id), and the answerer dials down to level 4.1.  That would probably one example that you may find in the wild.  It would look something like this:

Offer: main profile with level 5.1 (represented as 83 per table A.1 of [H.266]).  Informally speaking, level 5.1 would allow, among other resolution/frame rate combinations, 4Kp60.

          m=video 49170 RTP/AVP 98
           a=rtpmap:98 H266/90000
           a=fmtp:98 profile-id=1; level_id=83;

Answer: main profile with level 4.1 (represented as 67 per table A.1 of [H.266]).  Informally speaking, level 4.1 would allow, among other resolution/frame rate combinations, 1080p60.

          m=video 49170 RTP/AVP 98
           a=rtpmap:98 H266/90000
           a=fmtp:98 profile-id=1; level_id=67

As a result, both sides would send H.266 compliant with main profile, and following the level constraints of level 4.1.


The only SDP is the following in Section 7.2.1.:

          m=video 49170 RTP/AVP 98
           a=rtpmap:98 H266/90000
           a=fmtp:98 profile-id=1;
             sprop-vps=<video parameter sets data>;
             sprop-sps=<sequence parameter set data>;
             sprop-pps=<picture parameter set data>;

But, there is no example of any video/sequence/picture parameter sets data.


Yes, there isn’t.  However, these codepoints are base64 representations of H.266 coded bitstream fragments.  We could grab the binaries from a real-world H.266 bitstream, encode them BASE64, and put them into the draft instead of the textual description in angle brackets.  We did something like that when writing RFC3984 back in the day.  RFC3984 (payload format for H.264) contains an example as follows: sprop-parameter-sets=Z0IACpZTBYmI,aMljiA==. We could do the same.  But what would it give us?



The parameter set related syntax tables in H.266 are 10+ pages, the related semantics even longer, and its super-dense MPEG-style text.  We can’t explain how we arrive at the BASE64 string for the parameter sets beyond what is already in the text, without doubling the word count of the draft.  Therefore, if we were replacing the placeholders indicated by the angle brackets with real BASE64 strings, we would simply replace self-explanatory placeholders with some “magic” characters.



Here’s an anecdote from 15 or so years ago, when people were still using SDP in a SIP environment for video conferencing.  Some bloke literally copied that string into his implementation, despite using a different parameter set in-band later.  In RFC3984, it’s fine to have inband parameter sets different than the ones set up during O/A so, arguable, he was in compliance.  Still, with his prototype as offeror and sender, under test, our receiving system occasionally threw exceptions indicating a corrupt bitstream.  Why?  When a packet loss affected the inband parameter set (which is typically the first RTP packet in a session), our decoder, in full compliance with RFC3984 and H.264, used the parameter sets it received out of band in that magic string above.  The parameters in those parameter sets, however, indicated a different resolution than what the encoder used.  It took as a few engineering hours to hunt down his bug.  When confronted, his reaction was “but I only implemented RFC3984”.  Well, he didn’t.  He blindly copy-pasted an example into his implementation.  That’s but one example for why examples could (dare I say: should) be considered harmful :-). This episode was fresh in my mind when we wrote RFC7798, which is why there’s no magic BASE64 string in that spec, but the angle bracket descriptive text.  I’m not in favor of changing that.

Stephan

Regards,

Christer


From: Stephan Wenger <stewe@stewe.org>
Sent: lauantai 2. huhtikuuta 2022 5.44
To: Bernard Aboba <bernard.aboba@gmail.com>
Cc: Christer Holmberg <christer.holmberg@ericsson.com>; IETF AVTCore WG <avt@ietf.org>; Hannuksela, Miska (Nokia - FI/Tampere) <miska.hannuksela@nokia.com>; avtcore-chairs@ietf.org; mmusic <mmusic@ietf.org>
Subject: Re: [MMUSIC] RSDP directorate review of draft-ietf-avtcore-rtp-vvc-14

Bernard, folks,
Please see inline below in blue.
S.

From: Bernard Aboba <bernard.aboba@gmail.com<mailto:bernard.aboba@gmail.com>>
Date: Friday, April 1, 2022 at 19:00
To: Stephan Wenger <stewe@stewe.org<mailto:stewe@stewe.org>>
Cc: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org<mailto:christer.holmberg=40ericsson.com@dmarc.ietf.org>>, IETF AVTCore WG <avt@ietf.org<mailto:avt@ietf.org>>, Miska Hannuksela <miska.hannuksela@nokia.com<mailto:miska.hannuksela@nokia.com>>, "avtcore-chairs@ietf.org<mailto:avtcore-chairs@ietf.org>" <avtcore-chairs@ietf.org<mailto:avtcore-chairs@ietf.org>>, mmusic <mmusic@ietf.org<mailto:mmusic@ietf.org>>
Subject: Re: [MMUSIC] RSDP directorate review of draft-ietf-avtcore-rtp-vvc-14

Stefan said:

"This has come up before in the AVTCORE WG.  There are upsides and downsides to examples.  One key downside is that no few implementers have taken the presence of examples as an excuse of not reading/understanding the spec, leading to botched implementations.  I’m not an implementer myself—never really was—but that’s a story I have heard often.  Therefore, we authors consciously minimized the number of examples in this spec.  As said, we discussed that in AVTCORE, last during IETF112.
- Bernard Aboba: Is an additional profile document needed to enable interoperability? Without this, we are seeing problems with HEVC interop.
- Mo Zanaty: examples for all complex cases are not needed, but some basic ones might help.
My recollection is that I went out of the virtual room with a clear mandate not to include more and more complex examples.  I don’t have time right now to verify that from the audio record.

[BA] The specific situation that I was referring to in the notes is the situation with WebRTC support for HEVC. It is currently supported in Safari behind a flag, but interop has been tricky, both at the SDP and RTP levels.  RFC 7742 covers H.264 but not HEVC, and the lack of SDP examples in RFC 7798 has added to the vacuum.   One might cover HEVC and VVC in a followon to RFC 7798 and do the profiling and examples there.  But having some basic examples to draw upon would provide a foundation for that.
[StW]: It has been a long time that I looked at webrtc in the wild.  Can someone please tell us how much of RFC7798 the Safari folks are using, and anyone else who’s using that RFC for that matter?  I note that RFC7798 has one trivial example, at the end of section 7.2.1, which basically describes a main profile H.265/RFC7798 stream whose further H.265 characteristics are encoded in binary/base64 form in the VPS, and which is not using optional RFC7798 parameters beyond the VPS.  In the distant past (H.264-times), that was how most of the SDP blobs looked like that I came across.  The subject VVC draft has something similar in section 7.2.1., with more parameter sets conveyed in the SDP.  What is needed beyond that those trivial examples, and what has led to those interop problems?  We authors need help here.  AFAIK, no one of us uses or is interested much in SDP—those of us who do product work at all (not many AFAIK) sit on top of our own call stack.  As for a fix/follow up of RFC7798, I personally am not particularly interested in driving this—it should really be driven by someone who has felt the pain.  I’m willing to help, though.
Thanks,
Stephan

On Thu, Mar 31, 2022 at 3:24 PM Stephan Wenger <stewe@stewe.org<mailto:stewe@stewe.org>> wrote:
Hi Christer,

Thanks very much for this detailed and timely review.  Initial reactions inline.
Miska: please take a look at Q5 below and my answer.
AVTCore: please take a look at Q7 below, and my answer.  Is there interest, and are there volunteers?

Stephan

From: mmusic <mmusic-bounces@ietf.org<mailto:mmusic-bounces@ietf.org>> on behalf of Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>>
Date: Wednesday, March 30, 2022 at 11:39
To: IETF AVTCore WG <avt@ietf.org<mailto:avt@ietf.org>>
Cc: "avtcore-chairs@ietf.org<mailto:avtcore-chairs@ietf.org>" <avtcore-chairs@ietf.org<mailto:avtcore-chairs@ietf.org>>, mmusic <mmusic@ietf.org<mailto:mmusic@ietf.org>>
Subject: [MMUSIC] RSDP directorate review of draft-ietf-avtcore-rtp-vvc-14

Hi,

I have performed the SDP directorate review of draft-ietf-avtcore-rtp-vvc-14.

GEN:

In general, it is quite difficult to read and parse the SDP sections. Also, for the offer/answer procedures, we often have dedicated sub-sections for creating the offer, creating the answer, etc.

However, I will focus on things which I think are unclear.

---

Q1:

Section 7.2.1 says:

   *  The OPTIONAL parameters profile-id, tier-flag, sub-profile-id,
      interop-constraints, level-id, sprop-sublayer-id, sprop-ols-id,
      recv-sublayer-id, recv-ols-id, max-recv-level-id, max-lsr, max-
      fps, sprop-max-don-diff, sprop-depack-buf-bytes and depack-buf-
      cap, when present, MUST be included in the "a=fmtp" line of SDP.
      This parameter is expressed as a media type string, in the form of
      a semicolon-separated list of parameter=value pairs.

What does “this parameter” refer to? Do you mean “these parameters”?

---

I believe “this parameter” refers to the a=fmtp line.  Does that make sense?  If yes, we can rephrase by replacing “This parameter” with “The fmtp line”

Q2:

Section 7.2.1 says:


   *  The OPTIONAL parameter sprop-vps, sprop-sps, sprop-pps, sprop-sei,

      and sprop-dci, when present, MUST be included in the "a=fmtp" line

      of SDP or conveyed using the "fmtp" source attribute as specified

      in Section 6.3 of [RFC5576]<https://datatracker.ietf.org/doc/html/rfc5576#section-6.3>.

Why are you using the “fmtp” source attribute?

---


This was inherited from the comparable section of the H.265 payload format, RFC7798 (which most of the SDP stuff was copied from and adapted).  RFC7798 includes this informative note:

         Informative note: Conveyance of sprop-vps, sprop-sps, and
         sprop-pps using the "fmtp" source attribute allows for out-of-
         band transport of parameter sets in topologies like Topo-Video-
         switch-MCU as specified in [RFC7667].
We deleted the informative note for brevity’s sake but can reinsert it if you see a value (and if the note makes sense to you).


Q3:

Section 7.2.1 says:


      When included in

      the "a=fmtp" line of SDP, those parameters are expressed as a

      media type string, in the form of a semicolon-separated list of

      parameter=value pairs.  When conveyed in the "a=fmtp" line of SDP

      for a particular payload type, the parameters sprop-vps, sprop-

      sps, sprop-pps, sprop-sei, and sprop-dci MUST be applied to each

      SSRC with the payload type.

First, what is a “media type string”?

It’s not a term of art that I’m aware of.  Absent that, I think its definition is in the same sentence.  If “media type string” is confusing (and I think it may well be, considering that it sounds like a term of art without being one), we could simply remove “a media type string, in the form of”.  The result would read

      When included in

      the "a=fmtp" line of SDP, those parameters are expressed as

      a semicolon-separated list of

      parameter=value pairs.  When conveyed in the "a=fmtp" line of SDP

      for a particular payload type, the parameters sprop-vps, sprop-

      sps, sprop-pps, sprop-sei, and sprop-dci MUST be applied to each

      SSRC with the payload type.


Second, the “fmtp” attribute is ALWAYS associated with a particular payload type, isn’t it?

I believe so, yes.

---

Q4:

It would be very useful to have some SDP offer/answer examples.

This has come up before in the AVTCORE WG.  There are upsides and downsides to examples.  One key downside is that no few implementers have taken the presence of example as an excuse of not reading/understanding the spec, leading to botched implementations.  I’m not an implementer myself—never really was—but that’s a story I have heard often.  Therefore, we authors consciously minimized the number of examples in this spec.  As said, we discussed that in AVTCORE, last during IETF112.  Here are the relevant notes:

  5. RTP Payloads for VVC/EVC (Stefan Wenger, 15 min)
https://datatracker.ietf.org/doc/html/draft-ietf-avtcore-rtp-vvc
https://datatracker.ietf.org/doc/html/draft-ietf-avtcore-rtp-evc
- Stephan Wenger asked whether more complete examples of SDP Offer/Asnwer are needed, and recommends no. Simple cases already have examples.
- Bernard Aboba: Is an additional profile document needed to enable interoperability? Without this, we are seeing problems with HEVC interop.
- Mo Zanaty: examples for all complex cases are not needed, but some basic ones might help.
My recollection is that I went out of the virtual room with a clear mandate not to include more and more complex examples.  I don’t have time right now to verify that from the audio record.

In the light of this discussion, would you suggest to add more examples?

---

Q5:

Section 7.2.2.3 says:


      When dealing with VVC, the offerer assumes that the answerer will

      be able to receive media encoded using the configuration being

      offered.

And what if the answerer is not able to?

---


Once more, this is adapted from the H.265 payload format, RFC 7798, page 65 towards the bottom.  I have only a weak recollection of the reasoning.  The context of this sentence is the negotiation of sprop-max-don-diff and sprop-depack-buf-bytes.  For both of these parameters, there are reasonably low maximums that would prevent the use of the maximum range to become a serious implementation burden for a receiver.  Insofar, we require that the receiver is able to handle anything the sender could throw at him, within those hard limits of course.  Instead, these parameters are now packet stream properties that can be used to optimize/minimize playout delay in the receiver (by knowing the maximum interleaving and the maximum depacketization buffer that the sender is ever using).

Co-authors, especially Miska: I think you were deeper into this than me.  Is above about right?

Q6:

Is there a reason why Section 7.2.2.3 is not placed before Sections 7.2.2.1 and 7.2.2.2, as it applies to both?

---

Again, a copy-paste leftover and ancient RFC 7798 history.  No particular reason that I recall.

Q7:

The text says nothing (as far as I can tell) sending subsequent offers and answers within a session, and whether there are restrictions etc regarding which parameters can be modified etc.

Uh.  That’s a hard one.  Once more, our starting point RFC 7798 didn’t say anything either AFAICT, and no one complained about it.  Old payload formats for ITU codecs had somewhat similar SDP sections, and I also do not recall anyone complaining about the absence of that aspect.  Perhaps that is because most folks who use complex H.26x bitstreams negotiate them using something other than SDP.  Whatever.

I’m not against adding language, but, as it should be obvious by now, I’m far from an SDP expert or enthusiast, and AFAIK so are my co-authors.  If such modifications of existing sessions were desirable to anyone using SDP, we would need to find the right people to work towards it.  So, folks in AVTCore, is that something we should address, and who is willing to help?

---

Thanks again, Christer,

Stephan

Regards,

Christer