[AVTCORE] draft-ietf-avtcore-rfc5285-bis-05 -- fun special case

worley@ariadne.com (Dale R. Worley) Thu, 02 February 2017 03:09 UTC

Return-Path: <worley@alum.mit.edu>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08D3E126579 for <avt@ietfa.amsl.com>; Wed, 1 Feb 2017 19:09:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.934
X-Spam-Level:
X-Spam-Status: No, score=-1.934 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
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 dQSrjWBTWo5c for <avt@ietfa.amsl.com>; Wed, 1 Feb 2017 19:09:10 -0800 (PST)
Received: from resqmta-ch2-08v.sys.comcast.net (resqmta-ch2-08v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:40]) (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 4F2E0129620 for <avt@ietf.org>; Wed, 1 Feb 2017 19:09:10 -0800 (PST)
Received: from resomta-ch2-20v.sys.comcast.net ([69.252.207.116]) by resqmta-ch2-08v.sys.comcast.net with SMTP id Z7llc8HuZjvz4Z7llcD6YR; Thu, 02 Feb 2017 03:09:09 +0000
Received: from hobgoblin.ariadne.com ([IPv6:2601:192:4603:9471:222:fbff:fe91:d396]) by resomta-ch2-20v.sys.comcast.net with SMTP id Z7ljcCaS5qiCcZ7lkcOd6y; Thu, 02 Feb 2017 03:09:09 +0000
Received: from hobgoblin.ariadne.com (hobgoblin.ariadne.com [127.0.0.1]) by hobgoblin.ariadne.com (8.14.7/8.14.7) with ESMTP id v12397qH015122; Wed, 1 Feb 2017 22:09:07 -0500
Received: (from worley@localhost) by hobgoblin.ariadne.com (8.14.7/8.14.7/Submit) id v12396qE015119; Wed, 1 Feb 2017 22:09:06 -0500
X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to worley@alum.mit.edu using -f
From: worley@ariadne.com
To: avt@ietf.org
Sender: worley@ariadne.com
Date: Wed, 01 Feb 2017 22:09:06 -0500
Message-ID: <87zii55lwt.fsf@hobgoblin.ariadne.com>
X-CMAE-Envelope: MS4wfJhGb6SeveKPAMOuwamSV4Vv69Dc4bhur/3lCRAUJMBoXSOxMEFwLdsgls8KLN/qdkLHEMYtdX8k5r96w7uH/OX6Ij55Sf7rz3/oiOltyJ11XiDNFc6q 7210O3nQOmXkjAWcz9hNu8cYmP2xoDSUDRS0t2fqcf+bfCOKkF+I56ZV2PsTkrSKOHnCRc8ayMOYqjOi8vC/ivM3W8cCJ8lQdmI=
Archived-At: <https://mailarchive.ietf.org/arch/msg/avt/OJzuhE0fqdTvvYt1oCrxLKSQUR8>
Cc: singer@apple.com
Subject: [AVTCORE] draft-ietf-avtcore-rfc5285-bis-05 -- fun special case
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/avt/>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Feb 2017 03:09:11 -0000

Suppose that in the offer and the answer all of the identifiers are less
than 15.  And suppose that mixing one-byte and two-byte formats is *not*
negotiated.

RTP packets are sent containing one-byte extension headers, and
everything is going along well, and suddenly, the current data part for
an extension is over 16 bytes.  That data can't be encoded in the
one-byte format.

I think there needs to be a rule that a UA can't commit to the one-byte
format unless all of the extensions that might be sent are defined to
have data lengths between 1 and 16 bytes.  So instead of the current
rule

    A client MUST NOT send an extension header with the one-byte format
    if any negotiated valid identifier exceeds 14 and extmap-allow-mixed
    is not negotiated.

we need

    A client MUST NOT send an extension header with the one-byte format
    if:
        (1) extmap-allow-mixed is not negotiated, and
	(2) (a) some negotiated valid identifier is more than 14, or
	    (b)some negotiated extension may have a data length of 0
	    bytes or more than 16 bytes.

Dale