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 20:53 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 7C88F1B3BDF for <rtcweb@ietfa.amsl.com>; Mon, 29 Feb 2016 12:53:25 -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 J3mteNKGKgBK for <rtcweb@ietfa.amsl.com>; Mon, 29 Feb 2016 12:53:20 -0800 (PST)
Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (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 BEB3E1B3BD2 for <rtcweb@ietf.org>; Mon, 29 Feb 2016 12:53:19 -0800 (PST)
Received: by mail-qk0-x235.google.com with SMTP id s68so61416424qkh.3 for <rtcweb@ietf.org>; Mon, 29 Feb 2016 12:53:19 -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=zt9/ahKt92QAPdRSp6ZYYUwDHCnLwFZOrZUxDTfr57g=; b=sPof+P6C42i/sYrdev6coABNXtDqnmaCcWRQ244hu9NMGNdV60G1F7oNeuX60Ae+Us HxdZltCn1WHTmd7+rAEMdaVwvvmTpvf+T+yn1+Puuxjjwxj6T4MG+7e0ktPzUQ/70N3s +WvuZHCYA1fsX01Sny0mCFqo9tannhBYn1HH8csTn1E5rC97cCTLg7JxAuNRjTc6N/aE ikKV9cMMv8fTnnhDMfpGs8oJ4KR1NPml0aQe0oDUUbPJciBc/OHLEflrJGjKPhfFlrJR 8MaerTDjgv1oO3FZ/mjbAM7ftUx7rBfulu6K5+t8AoyWOM7oHlOOqmLyWrcnL6S39siX UJfg==
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=zt9/ahKt92QAPdRSp6ZYYUwDHCnLwFZOrZUxDTfr57g=; b=JHqAT3bLOgv1bSztrJDpAhdxkB2/tAGO1ee28R7Ta9TeCS9RtBYdiB0bNnWBkcI6zC teFRIWrrXFYt27rxsuRKDbne0fIis5L/0nqs/PJ2ue0G6LnXazdBSBdlNRbOwlbgN4YF O7+nAd9EB6V73F27tYi8fHPyP/Zepdf1h7bJjcVkIrMsS3tPQg/HozNyIQYOXSiI+1dx /vBNguZo6a6zPdORn87M3EUybSDtBgr6qLaAH+H0DwwyeOQ25ch2zi755h1ExRN/1R87 4IgCYMqMY9JpujCHRm9u7ckUGxzZRSnPPQ1r1BiLYLz75nUdZFNk5NAVCLH00X3BsDCw x95Q==
X-Gm-Message-State: AD7BkJKBxrNAwvrA24uao051hY/MV3h1Vb8AMq3D2c7A69T6c30xyYteuzs5gl4X8Of2MuoIXZmWhdxFJCtVCQ==
X-Received: by 10.55.74.141 with SMTP id x135mr21899638qka.20.1456779198880; Mon, 29 Feb 2016 12:53:18 -0800 (PST)
MIME-Version: 1.0
Received: by 10.55.6.13 with HTTP; Mon, 29 Feb 2016 12:52:59 -0800 (PST)
In-Reply-To: <SN1PR0301MB155111CC2AAC4D3B0962B3E6B2BA0@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> <CAD5OKxtonFCucoou8Es+0RCuBx-oa++w5__=EBXT7kVToksE4A@mail.gmail.com> <SN1PR0301MB155111CC2AAC4D3B0962B3E6B2BA0@SN1PR0301MB1551.namprd03.prod.outlook.com>
From: Ted Hardie <ted.ietf@gmail.com>
Date: Mon, 29 Feb 2016 12:52:59 -0800
Message-ID: <CA+9kkMAk_jPu5Pd1kU6aEh2au5x-tE4v+c9zU5nzx64t47DUmQ@mail.gmail.com>
To: "Asveren, Tolga" <tasveren@sonusnet.com>
Content-Type: multipart/alternative; boundary="001a114a7c6eaa6386052ceed657"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/RuynPaG4aNOvSzp50QTjXRcxhyU>
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 20:53:25 -0000

Howdy,
On Mon, Feb 29, 2016 at 12:10 PM, Asveren, Tolga <tasveren@sonusnet.com>
wrote:

> - App developer knows what he is doing
>

You still have not answered the question of how the application discerns
what the bounds are for a browser, if they are not specified.

Also, assuming either 40/6000 (or even 40/8000, to follow Roman's recent
suggestion) are used in conformance with PSTN requirements, what is the
likelihood that the developer who knows what she's doing is going to select
something outside that range?

regards,

Ted


> Thanks,
>
> Tolga
>
>
> ------------------------------
> *From:* Roman Shpount <roman@telurix.com>
> *Sent:* Monday, February 29, 2016 2:30 PM
> *To:* Asveren, Tolga
> *Cc:* Ted Hardie; Harald Alvestrand; 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 1:42 PM, 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).
>>
>>
>>
> Hi All,
>
> Just to be absolutely clear, there are no interconnected PSTN systems
> which accept DTMF tones shorter then 40 ms with less then 30 ms gaps. RFC
> 4733 does not impose the minimum DTMF tone duration limit, so VoIP only
> systems will take shorter tones. We routinely test SBCs and provider
> gateways on how they handle extremely short DTMF tones. Quite a few of them
> break, since tones and gaps need to be extended to generate valid PCMU/PCMA
> audio.
>
> RFC 2833 had a maximum DTMF tone duration of 8191 ms after which the tone
> duration counter overflowed (unsigned short int used to measure duration in
> RTP units with 8 KHz clock). I am not aware of anyone who run into this
> limit for any practical application.
>
> So, as far as I can see we have two options for min duration:
>
> a. Set the min tone duration limit to 40 ms and min gap limit to 30 ms.
> These are minimum values accepted by national phone networks according to
> ITU
> b. Set the min tone duration and min gap to 0. These are the minimum
> values possible with RFC 4733
>
> I would prefer option b here, but this is mostly for testing. I would
> understand if no one else would want this and go with PSTN based limits
> (option a).
>
> And we have two options for max duration:
>
> a. Set max tone duration to 8000 ms (I would increase it from 6000ms to at
> least have some reason for it).
> b. Make max tone duration unlimited.
>
> I would go with option a. No one needs tones longer then 8 s even for
> testing.
>
> I assume no one is against the default values of 100 ms tone and 70 ms
> gap. I believe these values to be safe and reasonable.
> From interop experience I would also enforce starting and ending the tone
> on the non tone packet boundary, but this can be an implementation specific.
>
> This was all discussed to death in the webrtc group. Unfortunately it was
> the wrong group to discuss this topic.
>
> Regards,
> _____________
> Roman Shpount
>
>