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 11:28 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 C57761A1A52 for <rtcweb@ietfa.amsl.com>; Tue, 1 Mar 2016 03:28:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.601
X-Spam-Level:
X-Spam-Status: No, score=-1.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MIME_8BIT_HEADER=0.3, SPF_HELO_PASS=-0.001] autolearn=no
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 meagnRJi6RIl for <rtcweb@ietfa.amsl.com>; Tue, 1 Mar 2016 03:28:13 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0695.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:695]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CAF211A1A4C for <rtcweb@ietf.org>; Tue, 1 Mar 2016 03:28:12 -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=r+JfEqBIq9l4vpm9zBmFnHB8iFsXVSlF5nL2/KVuJnM=; b=UWIxz0d07f45m51h1Q0qz12WyZ1R95XxWc7OtEoZOBQRn1aARcg0rgdffYRWtm1qnbyx+s9IBXWZ/9XzSRXrzSjgiskIwa+GNx81CgmGo/UPbcYWJWUjD1Vss/85tTY7hUT4iFtJFe5wl/C1B9eNMBSXzxyDs9Oqn+oWsPXiF/4=
Received: from SN1PR0301MB1551.namprd03.prod.outlook.com (10.162.129.157) by SN1PR0301MB1552.namprd03.prod.outlook.com (10.162.129.158) with Microsoft SMTP Server (TLS) id 15.1.409.15; Tue, 1 Mar 2016 11:27:50 +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 11:27:50 +0000
From: "Asveren, Tolga" <tasveren@sonusnet.com>
To: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>, Harald Alvestrand <harald@alvestrand.no>, 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+p9EeOUQ
Date: Tue, 01 Mar 2016 11:27:50 +0000
Message-ID: <SN1PR0301MB1551D1333297368D66B150ACB2BB0@SN1PR0301MB1551.namprd03.prod.outlook.com>
References: <20160224213121.376.85278.idtracker@ietfa.amsl.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> <SN1PR0301MB15518F98FD31A3BAE6505079B2BB0@SN1PR0301MB1551.namprd03.prod.outlook.com> <56D55FE9.60408@alvestrand.no> <SN1PR0301MB15512FBBCA5186B4829FEFA8B2BB0@SN1PR0301MB1551.namprd03.prod.outlook.com> <1447FA0C20ED5147A1AA0EF02890A64B374B9596@ESESSMB209.ericsson.se>
In-Reply-To: <1447FA0C20ED5147A1AA0EF02890A64B374B9596@ESESSMB209.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ericsson.com; dkim=none (message not signed) header.d=none;ericsson.com; dmarc=none action=none header.from=sonusnet.com;
x-originating-ip: [73.29.18.75]
x-ms-office365-filtering-correlation-id: c1d3deb8-c0f1-4426-76b0-08d341c485c7
x-microsoft-exchange-diagnostics: 1; SN1PR0301MB1552; 5:33tvg1pPMLxpOLKrnB0J/WkjUFsPRFX6Fs3cORcvfYQ40hI/OIjSfNCvfOTJjmI1cBQepkqcWW4biRzlkpbAgYVLtVxHkSMPPUIy7zxMMHWougJkB1BFiGkYI/wXMikViV6CItXIzwqZLYBvmKo7/Q==; 24:81zzSd9/ZHBF6jBxRYc+Dc7NZJECfp4do3D8LZkyaTLoiiJMI3j6xH+i9kmixipiyLYoh0E6rJVXQE/bohMfWyngk+pNxy3SEPqfdSvtnnc=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1552;
x-microsoft-antispam-prvs: <SN1PR0301MB15527A9E086B0068588284C6B2BB0@SN1PR0301MB1552.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:SN1PR0301MB1552; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0301MB1552;
x-forefront-prvs: 086831DFB4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(2473001)(377454003)(13464003)(24454002)(164054003)(479174004)(76176999)(92566002)(6116002)(15975445007)(3280700002)(19580395003)(19580405001)(5001960100003)(5001770100001)(1096002)(77096005)(4326007)(1220700001)(74316001)(33656002)(54356999)(11100500001)(2906002)(5004730100002)(3846002)(99286002)(106116001)(50986999)(102836003)(5002640100001)(10400500002)(5003600100002)(189998001)(2950100001)(40100003)(122556002)(3660700001)(5008740100001)(76576001)(93886004)(66066001)(2900100001)(586003)(86362001)(87936001)(230783001)(81156008); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0301MB1552; H:SN1PR0301MB1551.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: sonusnet.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2016 11:27:50.1021 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1552
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/nvXQufjt7CE0A6tBUdgPkNusJhU>
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 11:28:14 -0000

There are obviously different levels of flexibility. I am not arguing for changing the "level of abstraction" for the API. I just argue that enforcing limits *in the browser* is not a good idea.

When it comes to use cases setting limits based our imagination/agenda does not seem right to me. I think the high level principle should be the opposite: Do not add restrictions until absolutely necessary. One could have an application where pushing a digit for 10seconds triggers some special service/treatment. And 40ms is definitely too low of a value, I am aware of VoIP systems where lower values are used (but I definitely think that no enforced limit is the right thing to do rather than merely decreasing min).

Thanks,
Tolga

> -----Original Message-----
> From: Stefan Håkansson LK [mailto:stefan.lk.hakansson@ericsson.com]
> Sent: Tuesday, March 01, 2016 6:18 AM
> To: Asveren, Tolga <tasveren@sonusnet.com>; Harald Alvestrand
> <harald@alvestrand.no>; Ted Hardie <ted.ietf@gmail.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
> 
> On 01/03/16 11:18, Asveren, Tolga wrote:
> > Well, in your case, it is obviously app. developers fault to supply
> > duration/interval without knowing what they mean/what he is doing
> > (assuming those values are breaking something for whatever reason for
> > that particular deployment). This would be a bug on the
> > application/unintelligent behavior by the app. developer. I am for
> > convenience and accommodating people who are not savvy about DMTF
> > aspects but enforcing limits to guard against stupidity would
> > sacrifice flexibility, which IMHO is another important aspect. And
> > enforcing min/max would do exactly that, limiting flexibility.
> 
> I don't think increasing flexibility is a good reason per se. If that was the
> guiding principle all browser APIs would be on a very low level.
> 
> Is there a use case that can't be supported with the current spec?
> 
> Stefan
> 
> >
> > Thanks, Tolga
> >
> >> -----Original Message----- From: Harald Alvestrand
> >> [mailto:harald@alvestrand.no] Sent: Tuesday, March 01, 2016 4:25 AM
> >> To: Asveren, Tolga <tasveren@sonusnet.com>; Ted Hardie
> >> <ted.ietf@gmail.com> Cc: 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
> >>
> >> Den 01. mars 2016 09:04, skrev Asveren, Tolga:
> >>> 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.
> >>>
> >>
> >> The other way to look at it:
> >>
> >> App developer who doesn't know what he's doing:
> >>
> >> Send_Dtmf_Digit("5", duration=10)
> >>
> >> Runs on Chrome. It works on his test system. Deploys to a thousand
> >> users.
> >>
> >> Someone runs it on Firefox.
> >>
> >> "Illegal value".
> >>
> >> Files a bug against Firefox. Wastes a lot of people's time. In the
> >> meantime, the Chrome users discover that the DTMF-sending app only
> >> works part of the time, and files bugs against Chrome for not sending
> >> reliable DTMF.
> >>
> >> Lots of time wasted for all. People's distrust of DTMF ever working
> >> reliably goes up.
> >>
> >> What's the benefit of NOT having a hard limit?
> > _______________________________________________ rtcweb
> mailing list
> > rtcweb@ietf.org https://www.ietf.org/mailman/listinfo/rtcweb
> >