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

"Asveren, Tolga" <tasveren@sonusnet.com> Tue, 01 March 2016 08:04 UTC

Return-Path: <tasveren@sonusnet.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 567031B2A5D for <rtcweb@ietfa.amsl.com>; Tue, 1 Mar 2016 00:04:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_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 PwYPrNoxFLWl for <rtcweb@ietfa.amsl.com>; Tue, 1 Mar 2016 00:04:35 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0091.outbound.protection.outlook.com [65.55.169.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B80F51B2A5B for <rtcweb@ietf.org>; Tue, 1 Mar 2016 00:04:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SonusNetworks.onmicrosoft.com; s=selector1-sonusnet-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=OadMUS+LmdoRrrvKcdOBnHf+Ed6kg3lNM99RsIc0nsI=; b=bKOrDUgjUel7x+/51CexE5CtuaKL4NTKYw8wQUOmphqa8le0MKT7PM9Ylch5OV+XBKFCijfcrtp9EJFchTr4HQAmStXlOPbvbUBWnmefuBypbK2iPAwkluIntuG1p+bvn1B8GzLBZ261LJ+TA0INkahpw0idiCltP4UmdMx93rQ=
Received: from SN1PR0301MB1551.namprd03.prod.outlook.com (10.162.129.157) by SN1PR0301MB1549.namprd03.prod.outlook.com (10.162.129.155) with Microsoft SMTP Server (TLS) id 15.1.409.15; Tue, 1 Mar 2016 08:04:31 +0000
Received: from SN1PR0301MB1551.namprd03.prod.outlook.com ([10.162.129.157]) by SN1PR0301MB1551.namprd03.prod.outlook.com ([10.162.129.157]) with mapi id 15.01.0409.024; Tue, 1 Mar 2016 08:04:31 +0000
From: "Asveren, Tolga" <tasveren@sonusnet.com>
To: Ted Hardie <ted.ietf@gmail.com>
Thread-Topic: [rtcweb] Fwd: Last Call: <draft-ietf-rtcweb-audio-10.txt> (WebRTC Audio Codec and Processing Requirements) to Proposed Standard
Thread-Index: AQHRb/eiM09Ybg6t2Eavei5prgOW+p89KcurgAAU0gCAALLLgIAAOucggAC01ICAANVAYIAAKmkAgAA3mfCAAzMegIAAEaGAgAAC3oCAAAAVkIAAD2GAgAAJS/qAAA2lgIAAuVMQ
Date: Tue, 01 Mar 2016 08:04:31 +0000
Message-ID: <SN1PR0301MB15518F98FD31A3BAE6505079B2BB0@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> <CA+9kkMAk_jPu5Pd1kU6aEh2au5x-tE4v+c9zU5nzx64t47DUmQ@mail.gmail.com>
In-Reply-To: <CA+9kkMAk_jPu5Pd1kU6aEh2au5x-tE4v+c9zU5nzx64t47DUmQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=sonusnet.com;
x-originating-ip: [73.29.18.75]
x-ms-office365-filtering-correlation-id: 51a5a752-93bd-4a3b-52f2-08d341a81e8c
x-microsoft-exchange-diagnostics: 1; SN1PR0301MB1549; 5:ZsT+MnjFYdXDtY5nhHl1EzGEt27TCzCo+ul0HjGl52OBZrdSLPfSLJAP3ZU+cJTEWGba7L97YiNXgV0wYx1lHed3DQdSq6Fb3Up5bdiXf5eZjVCxCnUCLh8xvaLxNf7qkfGVValan09yDNUg9A3ycQ==; 24:kg0oggat4tXsypUXvpxQYfWq95j9Jv/eQhjf9fKvj0gRBQ0Usz5eZVke05EJ0eOFUIRykbyUy+7+EwwekVhntqWfl2Nf6+pRw07pWTjBarU=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1549;
x-microsoft-antispam-prvs: <SN1PR0301MB1549B81FA545368182483468B2BB0@SN1PR0301MB1549.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:SN1PR0301MB1549; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0301MB1549;
x-forefront-prvs: 086831DFB4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(24454002)(53754006)(164054003)(2473001)(377454003)(106116001)(3846002)(87936001)(11100500001)(50986999)(19300405004)(5002640100001)(76176999)(2906002)(81156008)(110136002)(102836003)(93886004)(230783001)(5003600100002)(76576001)(1096002)(3660700001)(19625215002)(16236675004)(5004730100002)(122556002)(10400500002)(3280700002)(92566002)(790700001)(74316001)(3900700001)(40100003)(6116002)(19609705001)(2900100001)(5001960100003)(33656002)(4326007)(586003)(19580405001)(1220700001)(2950100001)(5008740100001)(189998001)(54356999)(99286002)(66066001)(77096005)(86362001)(19580395003)(15975445007)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0301MB1549; H:SN1PR0301MB1551.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_SN1PR0301MB15518F98FD31A3BAE6505079B2BB0SN1PR0301MB1551_"
MIME-Version: 1.0
X-OriginatorOrg: sonusnet.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2016 08:04:31.0320 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1549
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/jXXOxS-PpmPpcA0JrYaK77crY9U>
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: Tue, 01 Mar 2016 08:04:40 -0000

i- I thought I answered that aspect but here it goes again with an example:

App Developer, who knows what he is doing:
API call:
Send_DTMF_Digit(“5”, duration=2000ms, interval=60ms)
Browser uses the values supplied in the API call. It does not enforce any checks.
App. Developer may use different values based on the negotiated codec.

App Developer, who is not savvy about DTMF digits:
API call:
Send_DTMF_Digit(“5”)
Browser uses its default values for duration and interval.
Browser default values may be different based on the negotiated codec.
Different browsers may use different default values but this does not cause any problem from App. Dev. perspective.

Overall, browser never enforces a range. IT either uses what has been supplied by the API call directly or its default values.

ii- I think any enforced range is always guesswork and we may be limiting some use cases (people can be imaginative ;-) ). Especially a min of 40ms is too high IMHO. But as said, I don’t see a reason for the browser enforcing a range anyhow.

Thanks,
Tolga

From: Ted Hardie [mailto:ted.ietf@gmail.com]
Sent: Monday, February 29, 2016 3:53 PM
To: Asveren, Tolga <tasveren@sonusnet.com>
Cc: Roman Shpount <roman@telurix.com>; 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

Howdy,
On Mon, Feb 29, 2016 at 12:10 PM, Asveren, Tolga <tasveren@sonusnet.com<mailto: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<mailto:roman@telurix.com>>
Sent: Monday, February 29, 2016 2:30 PM
To: Asveren, Tolga
Cc: Ted Hardie; Harald Alvestrand; rtcweb@ietf.org<mailto: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<mailto: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