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 18:35 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 D75011B39A5 for <rtcweb@ietfa.amsl.com>; Mon, 29 Feb 2016 10:35:57 -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 0LLvvCKhhtwL for <rtcweb@ietfa.amsl.com>; Mon, 29 Feb 2016 10:35:54 -0800 (PST)
Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (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 497841B39A0 for <rtcweb@ietf.org>; Mon, 29 Feb 2016 10:35:54 -0800 (PST)
Received: by mail-qk0-x233.google.com with SMTP id x1so59917089qkc.1 for <rtcweb@ietf.org>; Mon, 29 Feb 2016 10:35:54 -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=V0VFpw6IQL/Ujn4jc4Xiu/SrMi5bzLFDE5sTCHJlggw=; b=i2IBVcHbMxHKGq1QZ2/d6koUuBIsEqYBQNulMUp1aXX6/DRj2NjBM/TwqceakDWghg cFkjHvYHEdqoeuBmHxGsvc0ARU5OTe4w+T+GyTcyJs2tE8fqUdsAsk6pn46AYRnRm5Bu RUIYr/O2/D3KA3VS0ui//WubRG+s1YU9Zqd0EhaUCU6bRElVDJ6wPKafuBU826lDCZ6Y 214i7/AGtqpqWRS4Dj3Q5M/fA6te8tQgmBvBS5tzyhVouwUB9lncrV9cAPUclrTT1DMU tjNe9SJ0SK2HdxcPPx2fMIX2Cw1C8FZrjiWBs0GaGDacyYywE6Fj2UwD2+qMBtvBfBP5 d8sA==
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=V0VFpw6IQL/Ujn4jc4Xiu/SrMi5bzLFDE5sTCHJlggw=; b=giQHCNMJl8KCl0ELJZvN7T129yK7JFsrqfYgWCWyyBQCfP5R35zpEbTbOCR9Ke+oOs 77FqslPhgI6ZsTvwuW9+9rZlTqX2n29qWo6WmOu5JxUkWTobpFGrTPNsj4xYhCvPwe7k CeHclRLU6uVPawwMJ0JKyczkHrPPa2eHJhWTtvFzPL2fNgz+iwSWfOZbcGadWl5Iml3d hXULL3RZaGnL7HnHUy5xZ5bDotMWGEuIQGPQY+Qy/vifa0s+nPKegEW3PA7xv1t+rlfl ARX9AtAS2AY6XMbDxVq7nxNm+V/8yPbtZQp5ldhO5q0U987IlGDodsJgFdFHqYYDZv5W JZtg==
X-Gm-Message-State: AD7BkJITgaWK/QVEVqHImhdABJMEOtlRWC4bCHXvZNsOSc/9R31uNP9g5hwK4i08rljDkOOOGWPJI2lU/jv2mw==
X-Received: by 10.55.195.16 with SMTP id a16mr21195835qkj.36.1456770953452; Mon, 29 Feb 2016 10:35:53 -0800 (PST)
MIME-Version: 1.0
Received: by 10.55.6.13 with HTTP; Mon, 29 Feb 2016 10:35:33 -0800 (PST)
In-Reply-To: <SN1PR0301MB1551506B16DC14D555E98AD4B2BA0@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>
From: Ted Hardie <ted.ietf@gmail.com>
Date: Mon, 29 Feb 2016 10:35:33 -0800
Message-ID: <CA+9kkMAxR0_HzpqM3aQwVBX51G87+ZnYpd7AEwHsw0unpcPV1w@mail.gmail.com>
To: "Asveren, Tolga" <tasveren@sonusnet.com>
Content-Type: multipart/alternative; boundary="001a11479d863322f7052ceceb70"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/QDb_0LqzFW-8kC3UVWOuMkRusAQ>
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 18:35:58 -0000

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
>
>
>