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

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 09 September 2019 12:19 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 CFE4512006E for <mmusic@ietfa.amsl.com>; Mon, 9 Sep 2019 05:19:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 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, URIBL_BLOCKED=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 iK6gO6I5jZjg for <mmusic@ietfa.amsl.com>; Mon, 9 Sep 2019 05:19:51 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40043.outbound.protection.outlook.com [40.107.4.43]) (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 A0557120047 for <mmusic@ietf.org>; Mon, 9 Sep 2019 05:19:49 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PrUYL3wzQIdK4snP4pFHVIynZv+MFfUxTIW4U3aEz8Z8oD+0LzZCX8i4AdAy6opLQWT48AnnkTH2yz/IqOibDihvLSJut4edxGE3P73Nw2RJlcsKdqJyJ/tMnPnyT3SXdnz9+ryBkJ2z+c9yiaQ2cA5lx4pTSWOhSLMCI03gjTAl2sGfu87p4CHZ02+G73iQQf+Vq7c0+kvOa44C//ZWAtFVL7FjwfFfJDiGuAVOdRIrpXiIO7OE4EpHpglOJ6DWgnzk3CN3lMvih0fp3bJV3voLG+tOq5p555mHXT6wrVTnd19mH2a6kRvml4E+BCQ/O5XTaAeyeE4I47DgvFIIIg==
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=fnauatR8FeExilAi6eCOBY5+NTsjWQzsoaM2N5uwAPo=; b=Q5OJzvlr0/BJ5lGarMbGU/SCgrVSOltuAXf19/CXbHFoQxZcHuGNbTk44pOWzKphHWr+pzwHyLRhepYcxLII2+FiT8dn57xeAEOIhFyLtE+/8wByRnYlRJWnHiYRJCXP42Pp4B/y9pxEbZ0EIHYDhPO2Skv2cJ3upLoHEGl8l3LrpI1GU/XogpXh3Ks6Tbq/9h+BUQe0E885SEiAdXO7LhYosBM4hvhAn1e9u7QMXBfccCvw7y+sLQYryaSuEFwUj0Mk6DDLtnf2zbo/CHMUyZJ+ug6j2lMuMCa3nSwPQEgA0BRA6qN9bffpmJ8LN4XvkNv0YC8DAJM1C2iJ1VsaIA==
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=fnauatR8FeExilAi6eCOBY5+NTsjWQzsoaM2N5uwAPo=; b=nm/D9X4e9/n8Xfau2/UVDd2RzSXhIwBQLhdznAomqPqP5ZQisvzhzWC+7DuHvd6Py0LLA8aKWwI3QyyV7QNHs/xvD25R8MuLysA259sAku5xKiFp+ykb50r9eAqM6iwemb7OhuaR27x/4mC0pjRKWS3NAls0CZH2lSaXEeLcYTQ=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3164.eurprd07.prod.outlook.com (10.170.241.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.10; Mon, 9 Sep 2019 12:19:43 +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; Mon, 9 Sep 2019 12:19:43 +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/AIACQZQAgAGKp4CAABVDgIABiHcA///ZVIA=
Date: Mon, 09 Sep 2019 12:19:43 +0000
Message-ID: <B296118F-720F-4429-8148-08CE14D0ABD6@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> <2E82E773-E3F4-4340-9E97-0DA705611632@ericsson.com> <427f1d73-6518-94ab-4917-2175c17f4787@omnitor.se>
In-Reply-To: <427f1d73-6518-94ab-4917-2175c17f4787@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: [208.36.66.71]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5e211a3e-e4d6-41ee-b38a-08d7351ffef5
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:HE1PR07MB3164;
x-ms-traffictypediagnostic: HE1PR07MB3164:
x-ms-exchange-purlcount: 5
x-microsoft-antispam-prvs: <HE1PR07MB3164F0FE0AA4ED31DD1C6A6B93B70@HE1PR07MB3164.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01559F388D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(376002)(366004)(396003)(346002)(136003)(199004)(189003)(486006)(6506007)(6436002)(305945005)(11346002)(14444005)(8676002)(186003)(256004)(8936002)(6486002)(7736002)(99286004)(561944003)(33656002)(2906002)(229853002)(5660300002)(2501003)(81156014)(81166006)(66574012)(478600001)(6512007)(6306002)(25786009)(36756003)(86362001)(14454004)(53936002)(58126008)(26005)(102836004)(316002)(110136005)(2616005)(476003)(44832011)(66066001)(446003)(71200400001)(71190400001)(3846002)(66476007)(66556008)(66946007)(6116002)(66446008)(64756008)(6246003)(966005)(76176011)(76116006)(91956017); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3164; 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: rWhe3qxDOOrKWbT0zte/Y67f5t277yhn5LFJ0zWnHvF3/lMOLRUabGVyPe6z7T4sojZfw4Wqt4hyWO5zBUaS97gPiWoZuDFv2cE2uw+KI5blXIJXmpc5A5OOREXMbZXQQuY66vJRX0m6AXxoe1S7W7b9Id7/vhWbogE993mGveM1pveJJwx40uwlxA2RgSsGI6QwLNSt5aKYC3LHddytCFWbqCTi9bAUAOHMa4X9F8sxm6BiHRKiRigdaLiEjFMv/AP89yVerzU8e7efVp9SBMGNpcJuUqWk2HSjbXTUBtMFOpMb1G5ALJx0W70Y3/kspiG4wLDxh5xEZQHhcVJPpf6axx8pHs4Ed9nridOQEk6PGpNSNmdHaJgPTs6/7vvInU+lYNtivLTdYk0359LieBZ+WYo2M2Rq6a+NP2YqsRo=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <5A47732A2D382D42AB16EC664808E488@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5e211a3e-e4d6-41ee-b38a-08d7351ffef5
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2019 12:19:43.2858 (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: +vGEkjPfUmG1GsNZ6lwBDBrxWYAdCfaFYXYHCnKnf0WYtQETN6b+5ndKLXRNNh6Jo+1hajG5bByEfiWo0bzauGZr5GJdrhNGjICMuDulYdw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3164
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/FI4w0uwgHorRDm9O5jmYbW5cW3k>
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: Mon, 09 Sep 2019 12:19:54 -0000

The pull request:

https://github.com/cdh4u/draft-datachannel-t140/pull/27

Regards,

Christer

On 09/09/2019, 0.38, "Gunnar Hellström" <gunnar.hellstrom@omnitor.se> wrote:

    Hi,
    
    I am fine with all your answers, and I am sure you can propose some good 
    wording about the lack of support in the current W3C API.
    
    Regards
    
    Gunnar
    
    Den 2019-09-08 kl. 17:13, skrev Christer Holmberg:
    > 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
    >
    > _______________________________________________
    > mmusic mailing list
    > mmusic@ietf.org
    > https://www.ietf.org/mailman/listinfo/mmusic
    
    -- 
    -----------------------------------------
    Gunnar Hellström
    Omnitor
    gunnar.hellstrom@omnitor.se
    +46 708 204 288