Re: [MMUSIC] Draft new version: T140-data-channel -02 - Use direction attributes on dcsa level

Christer Holmberg <christer.holmberg@ericsson.com> Sun, 08 September 2019 15:13 UTC

Return-Path: <christer.holmberg@ericsson.com>
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 CF213120088 for <mmusic@ietfa.amsl.com>; Sun, 8 Sep 2019 08:13:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 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, 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 FT3d7w4nn6jN for <mmusic@ietfa.amsl.com>; Sun, 8 Sep 2019 08:13:29 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70085.outbound.protection.outlook.com [40.107.7.85]) (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 4E976120018 for <mmusic@ietf.org>; Sun, 8 Sep 2019 08:13:28 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gUTsdr8RYyLBRO+d3Ordcny2Vwm0OttTigifIq0XFoR/Jj+IQaSm7Hmi1kFUw3m6e5lLmvne4FQ7ANPCUZNBxO375stfelcUDmh8DZLDKFg6wwDMc/fVkuED3oLpxr/yYmWH80Io0gXchWpaoZUgpTo+TP8NtyRx8RlZT490fTkT3AGTsXVgBV8OJTHaQQ8IcT+7RYcCIVR9+eCQT9b41KDMNV0Q2ZSJgDphOvwJpqpC3P/ZgUDW60wLZhwzIKvIZyOX8CxeQruIasGZS87DsASni2uSNfk9w5zyy4G3bZPOp6xelPuX/fvYA1BFqPKTNrYzVlN0xA8NIaU2lyBk7Q==
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=PQCwbBYoYdQmMFMwnAp4O3v6nZWbiTcJceYWfReZw5Y=; b=JUNyWOQx+oDaTy89GVJoDgm6BtcUt2qVZESebj9U/oBnaoMYTgBH28vTZRZ6sF0FJ//GtYDon3M+cSrYREq6d/Eaz7sbvc/htCMIpKtHL2LQstpQKMgi8VqYIXG0ZYEO4x2Dr5IbARQVuF9jeT4eUKAEjjbXpsUbuoA+jBUgQbIAc+exhHn+6GtU1HGy8r428Ri75ubkbWsgAaOYtzfOPo9j/h3fMesTPZ7wIWDBwt2dujTR151hgJ4Sf4FbknHBXAQKveuMh4HdGaUrY3qihc50vt3JGOZmnkhTaK/ECLxE4TnW1d1Yv/1hZOGwnnXCV7Cu5zWjlFPQggscdV22bA==
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=PQCwbBYoYdQmMFMwnAp4O3v6nZWbiTcJceYWfReZw5Y=; b=X7ZChmYpraaFZZVfFJH0Dasa1Q2xlcmw8g/rgWg6ECvhaMCGWcBvgSo5J9y8LSSud2k3LIZtPasVYfYj0IcZAJNHEeYb3Tup2mSUpSAhdtEtllt6fdIn50r1U5yxkw+y8l5rpJrvPOcGZBKwvIEhDd26tOt5Qco6SmAfV0ePJgo=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB4316.eurprd07.prod.outlook.com (20.176.168.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.6; Sun, 8 Sep 2019 15:13:26 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::f0a1:2199:7816:ff8d]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::f0a1:2199:7816:ff8d%6]) with mapi id 15.20.2263.005; Sun, 8 Sep 2019 15:13:26 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Gunnar Hellström <gunnar.hellstrom@omnitor.se>, "mmusic@ietf.org" <mmusic@ietf.org>
Thread-Topic: [MMUSIC] Draft new version: T140-data-channel -02 - Use direction attributes on dcsa level
Thread-Index: AQHVY2b5usRVEwduhUiKeqMwqJp7m6ccSUbwgABntoCAADkrAIAAGeYAgAAregCAAGK/AIACQZQAgAGKp4CAABVDgA==
Date: Sun, 08 Sep 2019 15:13:25 +0000
Message-ID: <2E82E773-E3F4-4340-9E97-0DA705611632@ericsson.com>
References: <74EDF323-AE38-4D58-8006-D50B89348CFA@ericsson.com> <a0d1110e-5be2-6e69-dbc4-9fd9f2995a47@omnitor.se> <204ae1d2-0b26-f711-5828-51a058735e3b@omnitor.se> <1d1717a2-e6f7-11bf-1735-d23984304eba@omnitor.se> <HE1PR07MB31616A9C3FA710049D0B557893BB0@HE1PR07MB3161.eurprd07.prod.outlook.com> <0d8903e5-d449-d6db-8e43-de4288e83e6b@omnitor.se> <26FA637B-9590-4CE5-A4BB-CAA27327626F@ericsson.com> <2349bd04-4430-14fe-569d-507b4e8f7b5d@omnitor.se> <26B042B8-9D9B-4463-81D2-59F681C162BD@ericsson.com> <0bbb474c-e2a3-f0bc-1da9-1cfda88deb7e@omnitor.se> <26342749-5CD6-4C54-8FE6-70669179DF67@ericsson.com> <b74913b2-21e1-cef5-3dbd-fbb715d562ea@omnitor.se>
In-Reply-To: <b74913b2-21e1-cef5-3dbd-fbb715d562ea@omnitor.se>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1b.0.190715
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [12.186.46.7]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a87dd8c3-67e2-49b8-7e92-08d7346f193c
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600166)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:HE1PR07MB4316;
x-ms-traffictypediagnostic: HE1PR07MB4316:
x-ms-exchange-purlcount: 4
x-microsoft-antispam-prvs: <HE1PR07MB43163DAC3737D0A26EBCB10293B40@HE1PR07MB4316.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0154C61618
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(396003)(39860400002)(136003)(346002)(199004)(189003)(14444005)(229853002)(6246003)(33656002)(36756003)(3846002)(6116002)(7736002)(81156014)(81166006)(305945005)(8936002)(8676002)(2906002)(966005)(561944003)(76116006)(91956017)(66946007)(66446008)(64756008)(66556008)(66476007)(14454004)(86362001)(66066001)(2501003)(25786009)(6436002)(76176011)(478600001)(476003)(2616005)(486006)(44832011)(11346002)(6486002)(58126008)(110136005)(316002)(446003)(99286004)(53936002)(102836004)(186003)(256004)(6506007)(71200400001)(6306002)(6512007)(26005)(71190400001)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB4316; H:HE1PR07MB3161.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-message-info: +oZnv2KRkt2l6wTM0hgjHRvwxrO2rtNBvvyqII3E1Ufcpl/JxrOsAnOnVTHSwuMWsSUPE1QJZvNlwWV+E3aSFeh5/isdYbtZ6QD10aFSXmlMpb2MkvVZ2ff02FSH7REEhScTddVt/YLdWazSIcedd16bYTc+YccE/nUDjb4TUMYwmibNm9JlbcW/a5+NmjOA8SXSSR2G5PezxvbEbcC3O0eCwgqDLcWqjESz3s4jrdxZFehOcl5o5E4qsU+B3hk4nZL80L6zZhNEqfPtiM2wnMOdL9qgJMoAoE/6Jn/qFzRY53RFXHkjL9ipDuUlkF94Dx4CxOngwbkMDIvKtBIPBmGZNtvoeVGz3gE3bu40yZLbWL6pv2wvQsZCWBGVr7hAbgbzz3tfbqXN71FjRSZuAFyKLvicX8NNPFaiEZTvI0w=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <F1755E47CDA5A9468EDB364C14F0E981@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a87dd8c3-67e2-49b8-7e92-08d7346f193c
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2019 15:13:26.3664 (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: 0vYocP+jKf+zcbeW18P3jCCg70tiiaPVBcirqrrXHb9foIpE6SStA0oTg1RXBC3/Qr69RTNU4pBAxuPLfw+FABMkGpKUn8u9ebIbJUJoN20=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4316
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/L2GAuJR1mk0wXh7T4AvY3XtT9Jg>
Subject: Re: [MMUSIC] Draft new version: T140-data-channel -02 - Use direction attributes on dcsa level
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: Sun, 08 Sep 2019 15:13:34 -0000

Hi,

(I am currently in US on a business trip, which is the reason it may take a while for me to reply)

> 1. I can accept to not use the direction attributes on session level since you think it is messy, and I 
> think it is right to specify that it is not used, as now last in section 3.2.3.
>
> 2. I can accept to mention that the o/a procedures are based on RFC 3264 , but I think the first
> mentioning of RFC 3264 in section 3.2.3 first paragraph is too strong and should be deleted. The
> mentioning of RFC 3264 in the third paragraph can be kept and would be sufficient.

Ok. I can remove the mentioning in the 1st paragraph, as you suggest below.

> 3. I think the second note in section 3.2.3 is not needed. Readers surely understand that the dcsa attribute
> only apply to the data channel it is included in.

Ok. I can remove it. 

If someone things it needs to be mentioned, perhaps a generic note can be added to section 3.2 instead.

> 4. Since there seems not to be any way to convey the specified dcsa attributes fmtp, hlang-send, hlang-recv and
> the directions through the currently specified W3C API, I suggest that a warning about this condition is inserted
> in section 3.2 in a way so that we do not get a strict dependency on the W3C document. An initial proposal can
> be: "NOTE: In order for the dcsa attributes to be useful in an application, the application needs to have means
> for setting and interrogating them."

I think readers surely understand that :)

Instead, I'd suggest to add a note specifically mentioning that the current version of the W3C API does not support it.

> 5. In 3.2.1, first paragraph, about fmtp, it is said that 'fmtp' can be used to set 'cps'. By the end it says "The 'format'
> attribute parameter is not used with T.140 data channels, and MUST be set to "-".  Do you think it is clear enough that
> this MUST is only valid when an 'fmtp' attribute is used. If you don't, then that should be explicitly stated. 

I will clarify it.

Regards,

Christer



If you accept 1,2,3 above, section 3.2.3 could be modified to: 
"
3.2.3.  Real-time Text Direction

   'dcsa' attributes can contain the SDP 'sendonly', 'recvonly',
   'sendrecv' and 'inactive' attributes [RFC4566] to negotite the
   direction in which text can be transmitted in a real-time text
   conversation.

   NOTE: A WebRTC data channel is always bi-directional.  The usage of
   the 'dcsa' attribute only affects the direction in which
   implementations are allowed to transmit text on a T.140 data channel.

   The offer/answer rules for the direction attributes are based on the
   rules for unicast streams defined in [RFC3264], as described below.
   Note that the rules only apply to the direction attributes.

   Session level direction attributes [RFC4566] have no impact on a
   T.140 data channel.  An offerer and answerer MUST mark the direction
   of the text by sending a direction attribute inside aEUR~dcsa-
   attribute.
"
Regards
Gunnar
Den 2019-09-07 kl. 07:24, skrev Christer Holmberg:
Hi,

...

Section 9.2 of raft-ietf-mmusic-sctp-sdp (that defines the generic O/A procedures for negotiating SCTP associations) says:

"9.2.  SDP sendrecv/sendonly/recvonly/inactive Attribute

  This specification does not define semantics for the SDP direction
  attributes [RFC4566].  Unless semantics of these attributes for an
  SCTP association usage have been defined, SDP direction attributes
  MUST be ignored if present."
That contradicts sdpneg 5.2, saying:
"
5.2.  SDP DCSA Attribute

  In the SDP media description, each data channel declaration MAY also
  be followed by other media level SDP attributes, which are either
  specifically defined for or applied to the subprotocol in use.
"

We are discussing a general media level attribute, which we also have specified the use of.  So it is good for both cases mentioned in the last line. 
As far as I understand, the text talks about including attributes in the dcsa attribute, and such attribute could be a generic attribute applies to the data channel, or an attribute defined for the data channel. But, in both cases they are included in the dcsa attribute.

draft-ietf-rtcweb-data-channel defines such SCTP usage (the RTCWEB data channel), and draft-ietf-mmusic-data-channel-sdpneg 
defines the O/A procedures for negotiating such data channels.

*Neither* of those drafts defines semantics for the SDP direction attributes (please correct me if I'm wrong).

Therefore, I don't think we can then in the T.140 data channel draft can define such semantics for session/media level direction attributes.
  The ambition when specifying sdpneg would naturally 
  be to make life as simple as possible for authors of new data channel 
  specifications so that already existing general sdp attributes can be 
  reused without registration. The idea seems to be that a dcmap and its 
  dcsa declarations together shall be treated similar to earlier media 
  declarations for single media.
 
The purpose of dcsa is to apply attributes to a specific data channel.
 
  If you do not like the idea of a session level attribute influencing the 
  data channel, I think you need to write an explanation that limits this 
  interpretation of sdpneg and RFC4566bis.
 
I think the text I copy/pasted above provide such explanation: the SCTP association usage needs to define the semantics 
of the direction attributes, and the draft defining the RTCWEB data channel association usage do not define such semantics.

So, it is not only about what I like and don't like - I don't think it's permitted :)
If it is not permitted, we should discuss with the authors of draft-ietf-mmusic-msrp-usage-data-channel-13

In https://tools.ietf.org/html/draft-ietf-mmusic-msrp-usage-data-channel-13#section-5.1.1.2.  Use of the 
dcsa Attribute, it is said:
...
An offerer and answerer MAY include a dcsa attribute for the
following MSRP-specific SDP attributes, following the procedures
 defined for each attributes:

  o  defined in [https://tools.ietf.org/html/rfc4975]: "accept-types", "accept-wrapped-types" and
     "max-size"

  o  defined in [https://tools.ietf.org/html/rfc4566]: "sendonly", "recvonly", "inactive" and
     "sendrecv"

-----------------------------------------
If it is not permitted, the last bullet point would not be allowed. 
Why not? That text is also about including attributes in a dcsa attribute.

Regards,

Christer


_______________________________________________
mmusic mailing list
mailto:mmusic@ietf.org
https://www.ietf.org/mailman/listinfo/mmusic