Re: [MMUSIC] T.140 in Data Channel scenarios - SDP support

Bernard Aboba <bernard.aboba@gmail.com> Wed, 25 September 2019 21:07 UTC

Return-Path: <bernard.aboba@gmail.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 8B94B120241 for <mmusic@ietfa.amsl.com>; Wed, 25 Sep 2019 14:07:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 lepZ8AyXXrss for <mmusic@ietfa.amsl.com>; Wed, 25 Sep 2019 14:07:36 -0700 (PDT)
Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0033B120020 for <mmusic@ietf.org>; Wed, 25 Sep 2019 14:07:35 -0700 (PDT)
Received: by mail-lj1-x22d.google.com with SMTP id q64so7163622ljb.12 for <mmusic@ietf.org>; Wed, 25 Sep 2019 14:07:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qfx6XcG+JBiCbrr5TW1WGyyudNw55tiBh6NHAJPNv88=; b=KW4A5eXtcQoUynHmj7zXHvmvh+We/XGsVXTiSD8a/ojz9u4ndpD/YD1PZuWhPvpAzF naVyhITvImfD0+nwRGjs7amPfQCCT/E4nRF7YnoGYdus8Uc5DkWkAnanW5lDmI11ujt5 e7Pmj6tJ/9MfL315SEsvU67tPK2+KMqK0KJOs0Ulk3LUE1j3GOTtz2ztG3UcYpbvInid Xtyo1ZNqXr5w4vBKoTa7MttQU1HKo0vwkk62kabQg4VrsnLaPN/vOXmmv/I9tsKZi6n1 TGEltQ+X3oh9E6VNpw2MmwkkoRu4XkygxcPEAEFOVkx5RtkxhjDguW7MaDzv5CYd1H4C Z7qw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qfx6XcG+JBiCbrr5TW1WGyyudNw55tiBh6NHAJPNv88=; b=b6FABE8Mi5emhN1o3EIbHYcvJz0pSIu0nR3liIC7UyA91o8cSPKI+3Q4KpY3sewQWn EFXkD8ceyEmif/PREWjbUPjEqU4EpG1UQJB3jbicqQYcPyDBg55MzWhS9cMm62geM5fs AwjXsYKsCSLRHvEbvVOGil67ZiKU+JVwCtxmRaC21+MKQI71skcFaQCZBCLded/uxMON Bv629QFKT7QljkJCf1FwmjhNq9gUZzzFUaFMNXfU/Qr6fdRAsuYvVs5WJtnHW3Gsr9vb qhkcv27X6z8tbHIqPpWlTXhpLLDmfwKB4q+iFjTNy6WFL+E5LmOgqPlbi+DXMRgHMK+K mH1g==
X-Gm-Message-State: APjAAAVcAwuO3tHxXVCWeI1OhlaUOwHgBKB5yZhX8e2vlCgNSLKXmB0o 33JLQeBsPgXE0+vDLCUiLRUTKdllsd3dNCoqvic=
X-Google-Smtp-Source: APXvYqyi0V0nBIiM2B9pdrrzXZ8aBOWjO7G6s/82yvPt2udEzg6UrBVxWVX+xp9qz/+EqCsArYOe327ior+BF3pt658=
X-Received: by 2002:a2e:a316:: with SMTP id l22mr184489lje.211.1569445653657; Wed, 25 Sep 2019 14:07:33 -0700 (PDT)
MIME-Version: 1.0
References: <CAOW+2duiD8ZTDQpzupfC9S7tp7k6Xm5K2vA+643RMTpkDCnsMQ@mail.gmail.com> <HE1PR07MB3161640EC7A7269FE3A0D11993840@HE1PR07MB3161.eurprd07.prod.outlook.com> <VI1P193MB06698BA67FA8D8C5050BF10CFB840@VI1P193MB0669.EURP193.PROD.OUTLOOK.COM> <CAOW+2dv1YQ-UtXBWj5RZ=FDGvGKmjV+mwjQH4TAyFsbe75ivEQ@mail.gmail.com> <VI1P193MB0669B64299BDD4D0A39573ACFB870@VI1P193MB0669.EURP193.PROD.OUTLOOK.COM> <a5b5c943-3079-d2dd-988c-e2b3c853c37c@omnitor.se>
In-Reply-To: <a5b5c943-3079-d2dd-988c-e2b3c853c37c@omnitor.se>
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Wed, 25 Sep 2019 14:07:22 -0700
Message-ID: <CAOW+2dvVGVzpN_VpJAnz_gtGwnxzh6xEUj4f0Z45ityjqkTOEQ@mail.gmail.com>
To: Gunnar Hellström <gunnar.hellstrom@omnitor.se>
Cc: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>, mmusic WG <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ae3be50593670aa8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/_LUMbpb7NYQLdQtcFu-iwrPX7M4>
Subject: Re: [MMUSIC] T.140 in Data Channel scenarios - SDP support
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, 25 Sep 2019 21:07:41 -0000

The latest WebRTC API specification is here:
https://w3c.github.io/webrtc-pc/

While WebRTC applications are free to use whatever signaling they like, the
SDP utilized in the WebRTC API is described in the JSEP document:
https://tools.ietf.org/html/draft-ietf-rtcweb-jsep

Attributes such as hlang would not make sense for use in the WebRTC API
because browser themselves do not have language preferences (though it
might make sense for a WebRTC application to use hlang in its own
signaling).



On Wed, Sep 25, 2019 at 1:17 PM Gunnar Hellström <
gunnar.hellstrom@omnitor.se> wrote:

> Hi,
>
> We have a note in section 4.2. saying:
>
> "NOTE: At the time of writing this specification, the latest verion of
>    the API defined in [W3C.webrtc <https://tools.ietf.org/html/draft-ietf-mmusic-t140-usage-data-channel-05#ref-W3C.webrtc>] does not support the use of the SDP
>    attributes defined in this section."
>
> However, now I found that sections 4.4.1.6, 4.6 and 4.7 of the W3C API for WebRTC contains specification
>  of SDP negotiation and customized SDP contents.
>
> I would like to get comments if that SDP interface is flexible enough for including our dcsa attributes
> and performing an SDP negotiation of a T.140 data channel.
>
> If so, we should delete or reword that note in 4.2.
>
> This is the W3C spec I read: https://www.w3.org/TR/webrtc/
>
>
> Regards
> Gunnar
>
>
>
>
>
> Den 2019-09-25 kl. 21:26, skrev Gunnar Hellström:
>
> Hi,
>
> Gunnar said:
>
> "A concern though: If the reliable channel breaks because of bad
> conditions, can we then really know on both sides what has been transmitted
> so that if we get a successful reconnection we can avoid resending already
> received text?"
>
> [BA] Without some additional application-layer mechanism, I think the
> answer is "no".
>
> [GH] Yes, I expected that. Even if the data channel protocol has ambitions
> to report what data was sent and received before a failure, I am sure that
> there are error situations when this ambition cannot be satisfied, and the
> applications is left not exactly knowing what was transmitted successfully
> before a channel or association breakage.
>
> This finding calls for reviewing wording in two places in the draft,
>
> ------------------in 5.4---------------------
> 5.4 <https://tools.ietf.org/html/draft-ietf-mmusic-t140-usage-data-channel-05#section-5.4>.  Loss of T140blocks
>
>    In case of network failure or congestion, T.140 data channels might
>    fail and get torn down.  If this happens but the session sustains, it
>    is RECOMMENDED that a low number of retries are made to reestablish
>    the T.140 data channels.  If reestablishment of the T.140 data
>    channel is successful, an implementation MUST evaluate if any
>    T140blocks were lost.  Retransmission of already successfully
>    transmitted T140blocks MUST be avoided, and missing text markers
>    [T140ad1 <https://tools.ietf.org/html/draft-ietf-mmusic-t140-usage-data-channel-05#ref-T140ad1>] SHOULD be inserted in the received data stream where loss
>    is detected or suspected.
>
>
> ----------and in a bullet point in 6.. Gateway considerations--------
>
> o  If the gateway detects that the T.140 data channel has failed and
>       got torn down, once the data channel has been reestablished the
>       gateway SHOULD insert the T.140 missing text marker [T140ad1 <https://tools.ietf.org/html/draft-ietf-mmusic-t140-usage-data-channel-05#ref-T140ad1>] in
>       the data sent on the outgoing RTP stream if it detects or suspects
>       that data on the T.140 data channel was lost.
>
> -------------------------------------------------------------------
>
> Situations when the channel is torn down because of error are expected to
> be very rare exceptional cases. How the text session behaves in such
> situation should not be required to meet the requirements in T.140.
> Looking at how current multimedia conversational applications handle
> similar situations, it seems common that for human operated apps, the user
> gets alerted by a message box with text in this style .. "Problems are
> detected with your Internet connection. We make efforts to get back to
> normal operation." And eventually, communication is recovered and you do
> not know what was lost.
>
> Such actions could be recommendable also for sessions containing T.140
> data channels, but it is a general app behavior towards users that may be
> less relevant for us to specify.
>
> Looking at this phrase in 5.4: "
>
> Retransmission of already successfully
>    transmitted T140blocks MUST be avoided, and missing text markers
>    [T140ad1 <https://tools.ietf.org/html/draft-ietf-mmusic-t140-usage-data-channel-05#ref-T140ad1>] SHOULD be inserted in the received data stream where loss
>    is detected or suspected.
>
> "
> There may be T140blocks in the data channel transmission buffer that have
> been transmitted, and received by the other party, but not yet noted as
> successfully transmitted.
> So, in order to obey the MUST for not resending already successfully
> transmitted text, nothing that is in the transmission buffer may be resent
> after reconnection. So, the normal action should be to ignore any text in
> the transmission buffer, insert a missing text marker in the transmitted
> text if any unacknowledged text was in the transmission buffer at the time
> of the failure.
> It is harder for the receiving side to analyze if anything was lost in
> reception over the break and reconnect. But it could be a general advice to
> insert a missing text marker because some text may have been lost.
>
> So, the analysis calls for just a small modification to add "sent and" in
> the last sentence to make it read:
> "
>
> Retransmission of already successfully
>    transmitted T140blocks MUST be avoided, and missing text markers
>    [T140ad1 <https://tools.ietf.org/html/draft-ietf-mmusic-t140-usage-data-channel-05#ref-T140ad1>] SHOULD be inserted in the sent and received data streams where loss
>    is detected or suspected.
>
> "
>
>
> For the wording in section 6, gateway considerations, I find that the
> existing text is good, but marking may be needed also in the transmission
> direction towards the T.140 data channel. So, I suggest to add that in the
> bullet point to make it read:
>
> ----------------------------------------------------------------------------
>
> o  If the gateway detects that the T.140 data channel has failed and
>       got torn down, once the data channel has been reestablished the
>       gateway SHOULD insert the T.140 missing text marker [T140ad1 <https://tools.ietf.org/html/draft-ietf-mmusic-t140-usage-data-channel-05#ref-T140ad1>] in
>       the data sent on the outgoing RTP stream and on the outgoing
>       T.140 data channel if it detects or suspects
>       that data on the T.140 data channel was lost in the corresponding
>
>       transmission directions.
>
> -------------------------------------------------------------------
>
>
>
>
> Regards
>
> Gunnar
>
>
>
>
>
> On Tue, Sep 24, 2019 at 3:08 PM Gunnar Hellström <
> gunnar.hellstrom@omnitor.se> wrote:
>
> Hi,
>
> Hi Bernard,
>
>
>
> Gunnar will probably be able to give a better answer, but below are some
> comments from me.
>
>
>
> >At the W3C TPAC 2019 meeting last week,
> draft-ietf-mmusic-t140-usage-data-channel came up as part of a discussion
> of Accessible RTC Use Cases:
>
> >https://www.w3..org/WAI/APA/wiki/Accessible_RTC_Use_Cases
> <https://www.w3.org/WAI/APA/wiki/Accessible_RTC_Use_Cases>
>
> >
>
> >Here are a few of the questions that came up.
>
> >
>
> >Section 3
>
> >
>
> >       +--------------------------+-------------------------------+
>
> >       | Subprotocol Identifier   | t140                          |
>
> >       | Transmission reliability | reliable                      |
>
> >       | Transmission order       | in-order                      |
>
> >       | Label                    | See Section 4.1 <https://tools.ietf.org/html/draft-ietf-mmusic-t140-usage-data-channel-05#section-4.1> and Section 6 <https://tools.ietf.org/html/draft-ietf-mmusic-t140-usage-data-channel-05#section-6> |
>
> >       +--------------------------+-------------------------------+
>
> >
>
> > Are there any situations in which unreliable or partially reliable transport might be appropriate?
>
> > For example, some participants envisaged scenarios in which low latency communications might be
>
> >  desirable, such as in emergencies, and questioned whether it might make sense to use the maxPacketLifetime
>
> > or maxRetransmissions parameters.
>
> >
>
> > So there was a question about whether it might ever make sense to support an unreliable data channel (possibly with redundancy).
>
>
>
> T.140 requires the transport mechanism to keep packets in order, and without duplication. When using RTP, the sequence number is used to detect out-of-order packets and loss of packets. You don’t have that mechanism in a data channel, and T.140 itself does not contain a sequence number.
>
>
>
> When using RTP, reliability can provided by sending of redundant data, or by using FEC. FEC is RTP-specific, so you can’t use that on a data channel.
>
>
>
> I don’t think the redundancy mechanism can be used on the data channel either, because it uses the RTP header timestamp.
>
>  And, you can not re-transmit T.140 text on a data channel (T.140 RTP packets are not re-transmitted either), because the receiver will not be able to detect it (again, because T.140 does not contain a sequence number).
>
>
>
> Of course we could have defined an “envelope” for the data channel T.140 text, with sequence numbers. But, the idea was to simply send the T.140 text as the data channel itself provides delivery and reliability.
>
>
>
> [GH] I agree with Christer. There is a risk that during very severe conditions, the reliable SCTP association makes a number of retries for up to 30 seconds and then breaks,
>
> But the chance to get understandable text through in such conditions by sending in an unreliable channel with redundancy is probably not much higher. And it would require to for example use RTP and RFC 4103 on top of an unreliable data channel, a complication I would not like to introduce.
>
> I made a bit more comments on this on August 21.
>
>     ---
>
>
>
> >Lost information (compared with RTP)
>
> >
>
> >We had some questions relating to information "lost in translation" between realtime text
>
> >and data channel.  This includes aspects of the RTP header, including SSRCs, timestamps and sequence numbers.
>
>  Yes, that information is lost.
>
>
>
> There were some discussions about including SSRC somehow, in order to support conferences where a mixer uses a single data channel for text received from multiple remote users, but we decided that it is outside the scope of this draft.
>
>  [GH] The Stream-ID can be seen as "an SSRC", and the Label can be seen as a CNAME in one direction. Sequence number and timestamp are usually only used on transport level, and something similar is likely used in the reliable data channel transport, but not reported to the application.
>
> A concern though: If the reliable channel breaks because of bad conditions, can we then really know on both sides what has been transmitted so that if we get a successful reconnection we can avoid resending already received text?
>
> Regards
>
> Gunnar
>
>
>
> Regards,
>
>
>
> Christer
>
>
>
>
>
>
> _______________________________________________
> mmusic mailing listmmusic@ietf.orghttps://www.ietf.org/mailman/listinfo/mmusic
>
>