Re: [AVTCORE] Magnus Westerlund's Discuss on draft-ietf-payload-tsvcis-03: (with DISCUSS and COMMENT)

Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 01 October 2019 11:05 UTC

Return-Path: <magnus.westerlund@ericsson.com>
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 4A24512013D; Tue, 1 Oct 2019 04:05:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.003
X-Spam-Level:
X-Spam-Status: No, score=-2.003 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham 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 RxWskCxS2Gnq; Tue, 1 Oct 2019 04:05:02 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140043.outbound.protection.outlook.com [40.107.14.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB06812013C; Tue, 1 Oct 2019 04:05:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YXkjD6X36S4fH1CyH3Mw44E9t823xONZvBb4z3ywcZojKp3lBQV9ljR4R4JusoWxFc0U4MPIpkmumTDkTT55Cw6VR24HYkQfyVQatNGOLpWqgC+k3QI72FQsxFyKmMB5um9wHS5vBBXDyxNZ6ktS7WKDh0qzq+xHeBTMakQB8+TRGyhsj35SyPKP2+88ZEknoSNr0EUFkhd5z6BcWmsf1A+DL3xgvccy3kbBbkpmTtHMlDe8bTgkOWCyqfThV3DHwq4fAe8GDFl0ksPPhZkkGivJTZQO1vMwcEwsKAq117ptTYSfncs+meq4o0D81YozBQU4fj/+0XRo/a9FTIqtUg==
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=jBj0VqDkLrXSaB5U3eos9XRrj4lZ7Pamw3WhVSiBIjY=; b=RT+D67Yc37XdZ4sLwg2RB+yEK+ItHh+6nZph6iZznS3fk4s3kY/aGAbDAgVIDhE6ymT6cReUVBuoHV93Of7hFPxdEICFH0l+UMplXsoBxZRhhvzH85vmYFab0PgYPweY72XG9KFj3RzIQybF4WWjEyLPvsjIZbI4CYAs8IwXSE+Rc4Yhh2o2wC2bnfknMUShIyUSYFVs1r2xTZsstjqHwC2sWGWTX76TP+9tIUcOFMHsV406b3AdjFxBqi7JXCatgSG4Hhmm3ZLwgXmeWhScXpHcJATcR1kY1VSUwANbchgPX4ITkpH9g2UxyIqjk/gN54e92FPHHNMAm1t2t5Stqg==
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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jBj0VqDkLrXSaB5U3eos9XRrj4lZ7Pamw3WhVSiBIjY=; b=Ev5sCnLgEDmWGp82O6GRrRKSq+vlrfbS9tAjAlJis+VWjn5yq/Wyn5JOkfwuYkx2+A3iACS6orZX+LymOoRHRF0s2Cv0UgnxkJe+vbDuAJrZcRvxP4zRgJ6jBmC9q1YQIFetBjmRt8c59ElOm/JY9KJn8iJRKtdwMtyEY18BzDo=
Received: from DB7PR07MB5736.eurprd07.prod.outlook.com (20.177.194.155) by DB7PR07MB6156.eurprd07.prod.outlook.com (20.178.85.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.13; Tue, 1 Oct 2019 11:04:59 +0000
Received: from DB7PR07MB5736.eurprd07.prod.outlook.com ([fe80::e48c:a942:9682:2ce4]) by DB7PR07MB5736.eurprd07.prod.outlook.com ([fe80::e48c:a942:9682:2ce4%7]) with mapi id 15.20.2305.017; Tue, 1 Oct 2019 11:04:59 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "victor.demjanenko@vocal.com" <victor.demjanenko@vocal.com>, "iesg@ietf.org" <iesg@ietf.org>
CC: "ali.begen@networked.media" <ali.begen@networked.media>, "avtcore-chairs@ietf.org" <avtcore-chairs@ietf.org>, "Dave.Satterlee@vocal.com" <Dave.Satterlee@vocal.com>, "draft-ietf-payload-tsvcis@ietf.org" <draft-ietf-payload-tsvcis@ietf.org>, "avt@ietf.org" <avt@ietf.org>
Thread-Topic: Magnus Westerlund's Discuss on draft-ietf-payload-tsvcis-03: (with DISCUSS and COMMENT)
Thread-Index: AQHVd5n/hdBU+PQ1JE29XBlh2OCzdadEuciAgADnIoA=
Date: Tue, 01 Oct 2019 11:04:58 +0000
Message-ID: <03dcbd331ba82fb224b5fe604a8666a777f06da0.camel@ericsson.com>
References: <156985312482.574.421082603300027374.idtracker@ietfa.amsl.com> <06ae01d577d4$7f34b370$7d9e1a50$@vocal.com>
In-Reply-To: <06ae01d577d4$7f34b370$7d9e1a50$@vocal.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=magnus.westerlund@ericsson.com;
x-originating-ip: [192.176.1.80]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 29fe40a1-ce9c-4e16-70cc-08d7465f3333
x-ms-traffictypediagnostic: DB7PR07MB6156:
x-microsoft-antispam-prvs: <DB7PR07MB61565AB8788B766EE8C53E2D959D0@DB7PR07MB6156.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0177904E6B
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(39860400002)(366004)(376002)(346002)(396003)(199004)(189003)(51914003)(13464003)(71190400001)(71200400001)(76176011)(11346002)(2616005)(14454004)(6486002)(36756003)(476003)(6512007)(2906002)(6306002)(446003)(4326008)(54906003)(186003)(118296001)(478600001)(229853002)(6246003)(86362001)(99286004)(6506007)(53546011)(26005)(7736002)(256004)(6436002)(14444005)(316002)(91956017)(66946007)(76116006)(66616009)(305945005)(8936002)(8676002)(966005)(81166006)(6116002)(3846002)(110136005)(99936001)(102836004)(81156014)(25786009)(2501003)(44832011)(66556008)(66476007)(64756008)(66446008)(66066001)(486006)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR07MB6156; H:DB7PR07MB5736.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ow92HESpGY9PcCh1Qtt63CINVf0oUPg9iArfm+2tFt/xJ83Xq8cy7RG+jTXK86U+0AGW6jyiMA86F/T/0TCnlX+Sfv7gYWZKusRY8eTyjOGStAaGYXUfOTOx46b2QDrp/glPai66OnD2Atx4uVV4gKk26/RavXcbZsdefgLqFL3m2hH0VSrjrUEvzdrjqivJMILwJTYjP2HKmToposzPJhdq3tyGP6CqrcNSj24t5Krgc26PbjVkSEkLaDt9sbT7kUBhWPEyvQ/EhWYx/Tbrmez0+OwQkDXvCyeEnI6vXRSD+gUshw+lAYjZZfRKwJUGocvN/JmNXzRllxq97UFiGCvvSxhpwrfIz5DDhUUwge5w425rMXQF9Qar4vYYHlWDWGqL1wu93STkZak7X7gd4dS068H+S04KU6tG2Cg9imk=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-AlspzNaEvwB6LUEyzZzu"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 29fe40a1-ce9c-4e16-70cc-08d7465f3333
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Oct 2019 11:04:58.9332 (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: bIanxIBuBeWp5+c0XBU15Peg8pY5wAALoc0bjTa4vDo5AVyqT2a5DzhKBWh8auzZikgue5BZpTxI1VQcJPFin3RNj1OxJ2egnB3sY6fnKyk=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB6156
Archived-At: <https://mailarchive.ietf.org/arch/msg/avt/UUlfwty1xcRWjAOwW8UqN9mNX-Y>
Subject: Re: [AVTCORE] Magnus Westerlund's Discuss on draft-ietf-payload-tsvcis-03: (with DISCUSS and COMMENT)
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 01 Oct 2019 11:05:05 -0000

On Mon, 2019-09-30 at 17:17 -0400, victor.demjanenko@vocal.com wrote:
> Hi Magnus, Barry,
> 
> Thanks for the review.  Our comments are below marked with a "v->" leader.
> 
> Regards,
> 
> Victor & Dave
> 
> -----Original Message-----
> From: Magnus Westerlund via Datatracker <noreply@ietf.org> 
> Sent: Monday, September 30, 2019 10:19 AM
> To: The IESG <iesg@ietf.org>
> Cc: draft-ietf-payload-tsvcis@ietf.org; Ali Begen <ali.begen@networked.media>;
> avtcore-chairs@ietf.org; ali.begen@networked.media; avt@ietf.org
> Subject: Magnus Westerlund's Discuss on draft-ietf-payload-tsvcis-03: (with
> DISCUSS and COMMENT)
> 
> Magnus Westerlund has entered the following ballot position for
> draft-ietf-payload-tsvcis-03: Discuss
> 
> When responding, please keep the subject line intact and reply to all email
> addresses included in the To and CC lines. (Feel free to cut this introductory
> paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-payload-tsvcis/
> 
> 
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> 1. Section 3.3:
>            A TSVCIS RTP packet consists of zero or more TSVCIS coder frames
>    (each consisting of MELPe and TSVCIS coder data) followed by zero or
>    one MELPe comfort noise frame.  The presence of a comfort noise frame
>    can be determined by its rate code bits in its last octet.
> 
> I am missing a quite important word in this paragraph. Because I assume that
> the frame actually are required to be consecuitive frames in time order from
> oldest to newest?
> 
> v-> The concept (and phrasing I believe) was taken from the G.729/G.729B frame
> packing.  I'm not sure what additional word (or wording change) would make
> this clearer.  The idea is that a comfort noise frame will always be the last
> frame in a packet and may follow other regular coder
> frames.  Wording/rewording suggestions are welcome.

I would suggest: 

A TSVCIS RTP packet payload consists of zero or more consecutive TSVCIS coder
frames (each consisting of MELPe and TSVCIS coder data), with the oldest frame
first, followed by zero or one MELPe comfort noise frame.  The presence of a
comfort noise frame can be determined by its rate code bits in its last octet.



> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
>         A. Section 3.3:
>            TSVCIS coder frames in a single RTP packet MAY be of different
> coder
>    bitrates.  With the exception for the variable length TSVCIS
>    parameter frames, the coder rate bits in the trailing byte identify
>    the contents and length as per Table 1.
> 
>         If I understand this correctly in an RTP payload that contain mulyiplr
>         bit-rate frames the safest way of decoding this payload is to work
> from
>         the end of the payload towards the start identifying a frame at a
> time.
>         Then after having figured out how many frames actually are present,
> one
>         can calculate the timestamp value for each frame.
> 
> v-> Yes you are absolutely correct.  This was permitted with MELP Payload (RFC
> 8130).  It is unlikely that different coder bit rates would be mixed in one
> RTP packet.  Its repetition here is as a result that TSVCIS is a superset of
> MELPe.

RFC 8130 said that different rates was not allowed. So this is a change for
TSVCIS. Which raises two questions. 

1. Is it obvious that to be fool proof one must process the payload from the end
towards the begining? If that is not given then the process should be described.
I am not a good measure if this is necessary or not considering how many payload
formats I have reviewed. 

2. Are cases when TSVCIS needs to be backwards compatible with RFC8130, i.e. any
gateway scenarios where one like to use the TSVCIS format in one domain, then
gateway into anohter domain that uses the RFC8130 format. This works fine if one
assumes that the gateway can repacketize the payload, including splitting one
TSVCIS payload into multiple payloads and RTP packets. But there clearly is the
need to restrict the modes for backwards compatibility also. 

Considering that no payload format parameters have been defined to ensure such
restriction, I would guess this aspect can be ignored. 


> 
>         B. Section 4.4:
>            In the Offer/Answer model [RFC3264], "bitrate" is a bidirectional
>    parameter.  Both sides MUST use a common "bitrate" value or values.
>    The offer contains the bitrates supported by the offerer, listed in
>    its preferred order.  The answerer MAY agree to any bitrate by
>    listing the bitrate first in the answerer response.  Additionally,
>    the answerer MAY indicate any secondary bitrate or bitrates that it
>    supports.  The initial bitrate used by both parties SHALL be the
>    first bitrate specified in the answerer response.
> 
>          For example, if offerer bitrates are "2400,600" and answer bitrates
>    are "600,2400", the initial bitrate is 600.  If other bitrates are
>    provided by the answerer, any common bitrate between the offer and
>    answer MAY be used at any time in the future.  Activation of these
>    other common bitrates is beyond the scope of this document.
> 
>         I am a bit surprised to see bit-rate as  bidirectional parameter here.
>         In most use cases where RTP opperates each direction can simply
> express
>         what they accept, and the media sender towards that receiver will
>         simply provide what the receiver part has declared as acceptable. Can
>         you please provide to me a bit more motivation why the use of
>         bidirectional is needed?
> 
> v-> This convention was in RFC 8130 (MELP payload).  It has to do with
> bandwidth restrictions (typically on the outsides of the offerer and
> answerer).  Suppose a link (after the answerer) is limited to 600bps.  The
> answerer would prefer 600bps but could transcode 2400 to 600 bps (with effort
> on its side).  The offerer can send/receive either and maybe wants to send
> 2400 so that it can encode the voice once for multiple independent RTP
> paths.  It will however accept 600 bps for its receiver.  Now in this example,
> the preferred encoding is 600 bps for both directions.  So the bitrate
> parameter is bidirectional in the sense that each side gives its capabilities
> and suggestion based on the ordering and the answerer can restrict or indicate
> a preferred ordering in case it is the least capable device.   (For a call
> established in the reverse direction, the offerer would say the same 600, 2400
> and I would expect a more capable device as an answerer to say 600, 2400 to
> match.)

Okay, considering that RFC8130 made this choice and if there has not been any
issues with it, then I will not argue for any change. 

> 
>         C. Section 3 and 5: Marker bit definition.
>         The usage of the M bit
>    SHOULD be as specified in the applicable RTP profile -- for example,
>    [RFC3551], where [RFC3551] specifies that if the sender does not
>    suppress silence (i.e., sends a frame on every frame interval), the
>    M bit will always be zero.
> 
>         Section 5:
>            A primary application of TSVCIS is for radio communications of
> voice
>    conversations, and discontinuous transmissions are normal.  When
>    TSVCIS is used in an IP network, TSVCIS RTP packet transmissions may
>    cease and resume frequently.  RTP synchronization source (SSRC)
>    sequence number gaps indicate lost packets to be filled by PLC, while
>    abrupt loss of RTP packets indicates intended discontinuous
>    transmissions.
> 
>         I would have expected this format that is clearer on its usage of DTX
>         that it would talk about that marker bit will be = 1 after each DTX
>         period when one no longer transmitts comfort noise only.
> 
> v-> Agreed,  Should we add the following:
> 
> " Resumption of voice transmission SHOULD be indicated by the RTP marker bit
> (M) set to 1."

I think adding this to the Section 3 text work fine. 
> 
> Should the SHOULD be a MUST?

I think SHOULD is sufficient. The MUST will not be better followed than the
SHOULD. And not marking packets after DTX with m=1 may only impact the senders
voice quality as it can affect the jitterbuffer handling. 

Cheers

Magnus Westerlund 


----------------------------------------------------------------------
Network Architecture & Protocols, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Torshamnsgatan 23           | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------