Re: [rtcweb] Fwd: Last Call: <draft-ietf-rtcweb-audio-10.txt> (WebRTC Audio Codec and Processing Requirements) to Proposed Standard

Ted Hardie <ted.ietf@gmail.com> Mon, 29 February 2016 19:07 UTC

Return-Path: <ted.ietf@gmail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F4561B3A25 for <rtcweb@ietfa.amsl.com>; Mon, 29 Feb 2016 11:07:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-0.001] autolearn=ham
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 EG-6nFL1SaUe for <rtcweb@ietfa.amsl.com>; Mon, 29 Feb 2016 11:07:29 -0800 (PST)
Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (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 5A94D1B3A22 for <rtcweb@ietf.org>; Mon, 29 Feb 2016 11:07:29 -0800 (PST)
Received: by mail-qg0-x231.google.com with SMTP id y89so123413623qge.2 for <rtcweb@ietf.org>; Mon, 29 Feb 2016 11:07:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HPDqudLvPHFS2aNUefGs5Sqz9l1AjlMpxzdxYhYfP7k=; b=uDzJuZ0R8CmFdD92K157UQsVrpk9YT4OlqbHuzAzxg2xjWC6HYf2B8RDKQvq6WI6yd Ms3WG6Wxu1uhDxKbnezfhpEqALvRO0CRxSerKTjIi5Es6zxL37s/uarjrQ8eDhuaNmW8 cHh/ZR0cNaT8FRUWVsbNk/QJuVJ9hOWPnn/VHMwTS5xjm0uUYkris3KhJ9A6ty6tNc/O YH2XQ6qrSyIkR3W51PAhMSNBlrswrh0JbW0xgveWG07Q75TONQj6o3tTZrzOlNodS59o 4nvDKU+hhLWfXWSfpBJFyZURYZO+q1rafZoqHqcKUXxqstkWBWfashWZYQndSABhTOvP xpgQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HPDqudLvPHFS2aNUefGs5Sqz9l1AjlMpxzdxYhYfP7k=; b=e2/pW1MMrP20F7P7F+/1DCgOx5Ef18o7xENS7tVXdgKVz2GW1yKNaH51kIPV5zIbtL UrmbHyNdnYnEUgu0hzRI/S3DqB/LaOXf4PZ9VLdYD1J1RH7jjpkD+ngYOKWqShYzYXk/ hOosHc6s6EjSYxa6u/YrOpQh6nAKj1IZ4FLOyUtBSdj7uBtu6+G47904vQMDLgZAsXPS Ze0egjTi3KeJlDz+26zM4GpjLbZlztKvFLGNPms+VPZq9qGHTad/8VKfwqgVYEnGt4nS ZbixwfLf7BLEZdf/nGPj+I9Nh7LkLmb3m8GQC0g9jxrAC0/Fa6gBD/Qmw5MhG7LmAl56 NJxQ==
X-Gm-Message-State: AD7BkJLvpqyRUDehYbu3GOVvRblF7pYiME27/l/rXuk3EV8vYtk8FNKQ1iiXWe5hkdOszRJTpS1xslB4FNLPTA==
X-Received: by 10.140.100.244 with SMTP id s107mr20837391qge.19.1456772848472; Mon, 29 Feb 2016 11:07:28 -0800 (PST)
MIME-Version: 1.0
Received: by 10.55.6.13 with HTTP; Mon, 29 Feb 2016 11:07:08 -0800 (PST)
In-Reply-To: <SN1PR0301MB1551C791B62BC7311DB3897CB2BA0@SN1PR0301MB1551.namprd03.prod.outlook.com>
References: <20160224213121.376.85278.idtracker@ietfa.amsl.com> <CAD5OKxsa9cwYOLqkHDVjoe2vr8NoOsPYO7jD_4TPNSnxU7u53Q@mail.gmail.com> <56CE2CF4.70001@jmvalin.ca> <CA+9kkMAqNZiHX7asFZnNgMnJw3G2bPBB7zXfLex3xdkfcW2tQQ@mail.gmail.com> <SN1PR0301MB15510A18734956A22BD5FB5AB2A60@SN1PR0301MB1551.namprd03.prod.outlook.com> <CAD5OKxu3HSKDNMNhEWHgoBrHj4zOvjwbGFQSyLmBgLo6cL2Lhg@mail.gmail.com> <56D000EF.9010004@alvestrand.no> <SN1PR0301MB15518B65A2E7D2ACFE2663B4B2A70@SN1PR0301MB1551.namprd03.prod.outlook.com> <CAD5OKxuQT2hdDHWdVxHGEcC3PuMMDjpaBpfAygRBa7-kdv79Rg@mail.gmail.com> <SN1PR0301MB15519E82B0384EF6EC348B72B2B80@SN1PR0301MB1551.namprd03.prod.outlook.com> <56D1A080.7050901@alvestrand.no> <SN1PR0301MB1551A6D49F18116A70A107CCB2B80@SN1PR0301MB1551.namprd03.prod.outlook.com> <CA+9kkMB5pye7-tXgBFrzk+F-3dApY-4pEX_1Foob-ug6dmztXg@mail.gmail.com> <SN1PR0301MB1551506B16DC14D555E98AD4B2BA0@SN1PR0301MB1551.namprd03.prod.outlook.com> <CA+9kkMAxR0_HzpqM3aQwVBX51G87+ZnYpd7AEwHsw0unpcPV1w@mail.gmail.com> <SN1PR0301MB1551C791B62BC7311DB3897CB2BA0@SN1PR0301MB1551.namprd03.prod.outlook.com>
From: Ted Hardie <ted.ietf@gmail.com>
Date: Mon, 29 Feb 2016 11:07:08 -0800
Message-ID: <CA+9kkMD41ce8ReGAjFqNWbj3v_Xu7y_MiTc53Bje5A1O-kMrDA@mail.gmail.com>
To: "Asveren, Tolga" <tasveren@sonusnet.com>
Content-Type: multipart/alternative; boundary="001a1134f50426e619052ced5c1a"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/iQZvuE7aJvhoj4Qo7w5MdJ8ErZw>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Fwd: Last Call: <draft-ietf-rtcweb-audio-10.txt> (WebRTC Audio Codec and Processing Requirements) to Proposed Standard
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Feb 2016 19:07:33 -0000

On Mon, Feb 29, 2016 at 10:42 AM, Asveren, Tolga <tasveren@sonusnet.com>
wrote:

> I am not sure whether 40ms should be absolute minimum for all codecs. Even
> for 6000ms, who am I to argue that somebody can’t come up with a use
> case/application, which requires something longer. So, overall, enforcing
> does not seem to be the right thing IMGO (default value is fine as already
> indicated) (and I don’t fully agree with your statement that “the point of
> min/max is promoting sane values” as the model you are describing is
>  “enforcing” a range rather than a default value in browser/recommendation
> in the specification).
>
>
>
So, to put this in RFC 2119 terms, you believe these values should be at
SHOULD strength rather than MUST?  If that were the case but there were no
API surface to determine whether an implementation supported other values,
what, exactly would happen.

Ted



> Thanks,
>
> Tolga
>
>
>
> *From:* Ted Hardie [mailto:ted.ietf@gmail.com]
> *Sent:* Monday, February 29, 2016 1:36 PM
>
> *To:* Asveren, Tolga <tasveren@sonusnet.com>
> *Cc:* Harald Alvestrand <harald@alvestrand.no>; Roman Shpount <
> roman@telurix.com>; rtcweb@ietf.org
> *Subject:* Re: [rtcweb] Fwd: Last Call: <draft-ietf-rtcweb-audio-10.txt>
> (WebRTC Audio Codec and Processing Requirements) to Proposed Standard
>
>
>
> On Mon, Feb 29, 2016 at 10:29 AM, Asveren, Tolga <tasveren@sonusnet.com>
> wrote:
>
> There obviously are some values which are unreasonable but using sane
> values should be driven by the application
>
>
>
> Okay, but the point of the max (6000ms) and min (40ms) is exactly that--to
> make a common statement about what range is sane in this context.  Without
> that, there would have to be API surface for discovering what was
> considered sane; as Harald pointed out, that's going to get little use for
> the complication it adds.
>
> Do you disagree that these are sane values for a bound to the range?
>
> regards,
>
> Ted
>
>
>
>
> . Browsers still can support some default values –to be used if
> application does not supply any value-, better based on the negotiated
> codec, for application developers, who are not savvy enough to pick a
> value. OTOH, what I am arguing against is browsers **enforcing** certain
> limits and rtcweb-audio specification mandating limits.
>
>
>
> Thanks,
>
> Tolga
>
>
>
> *From:* Ted Hardie [mailto:ted.ietf@gmail.com]
> *Sent:* Monday, February 29, 2016 12:22 PM
> *To:* Asveren, Tolga <tasveren@sonusnet.com>
> *Cc:* Harald Alvestrand <harald@alvestrand.no>; Roman Shpount <
> roman@telurix.com>; rtcweb@ietf.org
>
>
> *Subject:* Re: [rtcweb] Fwd: Last Call: <draft-ietf-rtcweb-audio-10.txt>
> (WebRTC Audio Codec and Processing Requirements) to Proposed Standard
>
>
>
> On Sat, Feb 27, 2016 at 8:32 AM, Asveren, Tolga <tasveren@sonusnet.com>
> wrote:
>
> I don’t think browsers should be enforcing *any* limitations. It should be
> up to the application developer to decide what values to use.
>
>
>
> So a tone of 2 hours duration is okay?  That seems pretty likely to
> trigger the "multiple digits" issue that Roman pointed out for SBCs, for
> one thing.
>
> Harald's point is that there are some clearly silly possibilities out
> there, so some limitation will be there (1 hour, 3 minutes, 6000ms) and
> that probing for what an implementation has chosen is much more complicated
> here than makes sense.
>
>
>
> This would solve the problem and is the right approach anyhow IMHO.
>
>  Without any hats on, I think this is pretty unlikely work out well.
>
> Ted
>
> Thanks,
> Tolga
>
> > -----Original Message-----
> > From: Harald Alvestrand [mailto:harald@alvestrand.no]
>
> > Sent: Saturday, February 27, 2016 8:11 AM
> > To: Asveren, Tolga <tasveren@sonusnet.com>; Roman Shpount
> > <roman@telurix.com>
> > Cc: rtcweb@ietf.org
> > Subject: Re: [rtcweb] Fwd: Last Call: <draft-ietf-rtcweb-audio-10.txt>
> > (WebRTC Audio Codec and Processing Requirements) to Proposed Standard
> >
> > Den 27. feb. 2016 11:45, skrev Asveren, Tolga:
> > > If I don’t mis/over-interpret Roman’s answer, it seems like at least
> > > some people who really care/have practical experience about this
> > > issue, e.g. Roman and myself, are in favor of not mandating any values
> > > and suggesting that w3org specification is updated accordingly. I
> > > personally would prefer nothing more than a (or two) sentence as a
> > > warning without using any keywords in rtcweb-audio. Does this sound a
> > > reasonable choice to other folks?
> >
> > At the WEBRTC API, this *will* lead to noninteroperable implementations,
> > since some browsers will enforce different limits from other browsers.
> >
> > It's all coming back now - we decided to go with fixed limits in the spec
> > because it was inconcievable that implementations wouldn't impose
> > *some* limits, and the idea of adding API surface for probing what the
> limits
> > were was just too gross for such a low-value (relatively
> > speaking) feature.
> >
> >
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Tolga
> > >
> > >
> > >
> > > *From:*Roman Shpount [mailto:roman@telurix.com]
> > > *Sent:* Friday, February 26, 2016 4:56 PM
> > > *To:* Asveren, Tolga <tasveren@sonusnet.com>
> > > *Cc:* Harald Alvestrand <harald@alvestrand.no>; rtcweb@ietf.org
> > > *Subject:* Re: [rtcweb] Fwd: Last Call:
> > > <draft-ietf-rtcweb-audio-10.txt> (WebRTC Audio Codec and Processing
> > > Requirements) to Proposed Standard
> > >
> > >
> > >
> > > On Fri, Feb 26, 2016 at 6:19 AM, Asveren, Tolga <tasveren@sonusnet.com
> > > <mailto:tasveren@sonusnet.com>> wrote:
> > >
> > >     i- I think w3org should have followed the lead of IETF in this
> issue
> > >     rather than the other way around, i.e. the values recommended by
> the
> > >     IETF specification should have been cited in the w3org document
> IMHO.
> > >
> > >
> > >
> > > I agree completely. I am not aware of any IETF document that defines
> > > DTMF or RFC 4733 tone duration limits, so I proposed to add these
> > > limits to draft-ietf-rtcweb-audio. Most importantly I wanted the text
> > > from W3C reviewed in IETF since it was clearly a network related.
> > > Furthermore, anybody implementing WebRTC compatible RTP audio
> > > interface should not need to read the API document to find the network
> > specific limits.
> > >
> > >
> > >
> > >     ii- The reasonable value range could depend on the negotiated codec
> > >     and that would be known at the time of interesting the digits; so
> > >     anything with MUST strength is too restrictive IMHO.
> > >
> > >
> > >
> > > We know that RFC 4733 would be used to transmit DTMF tones from
> > WebRTC
> > > endpoints. RFC 4733 has no upper or lower limits on tone duration, so
> > > technically these can be set to anything or not set at all. Some
> > > people argue that we should limit number of foot guns for future API
> > > users, so they wanted to have reasonable tone duration limits.
> > >
> > >
> > >
> > >     iii- The presence of transcoding/interworking (between different
> > >     forms of digit transfer) devices (they will be there, whether we
> > >     like it or not, for certain scenarios) makes it even less desirable
> > >     to have MUST strength mandates.
> > >
> > >
> > >
> > > Unfortunately I spend a significant amount of my time dealing with
> > > transcoding elements (SBCs) dealing with RFC 4733 tones. Sending tones
> > > which are too short or sent at high rates make such transcoding
> > > elements generate unexpected or broken DTMF sequences. Reordered or
> > > interleaved tones are commonly generated in response to such
> > > sequences. Extremely long duration DTMF digits typically break into
> > > several digits. There is danger in not having reasonable limits. The
> > > decision if API users should be protected from this danger is up to
> this
> > group.
> > >
> > >
> > >
> > >     iv- I think adding some text regarding gap/duration of digit
> packets
> > >     could be fine but I rather would prefer it with “recommend” (even
> > >     not RECOMMEND) (and providing some values only as examples).
> > >
> > >
> > >
> > > I agree that having reasonable recommended values should be sufficient
> > > for most cases. The group has to decide if it wants to protect the
> > > developers from themselves and set MUST level limits on tone and gap
> > > duration.
> > >
> > > _____________
> > > Roman Shpount
> > >
> > >
> > >
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>
>
>
>
>