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

Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com> Tue, 01 March 2016 11:36 UTC

Return-Path: <stefan.lk.hakansson@ericsson.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 6BF481A1B24 for <rtcweb@ietfa.amsl.com>; Tue, 1 Mar 2016 03:36:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.9
X-Spam-Level:
X-Spam-Status: No, score=-3.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3] 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 CTrmpqNDSOzA for <rtcweb@ietfa.amsl.com>; Tue, 1 Mar 2016 03:36:02 -0800 (PST)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A0A41A1A52 for <rtcweb@ietf.org>; Tue, 1 Mar 2016 03:36:02 -0800 (PST)
X-AuditID: c1b4fb25-f794e6d000003d15-80-56d57e9f3b3e
Received: from ESESSHC010.ericsson.se (Unknown_Domain [153.88.183.48]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 6A.0C.15637.F9E75D65; Tue, 1 Mar 2016 12:35:59 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.73]) by ESESSHC010.ericsson.se ([153.88.183.48]) with mapi id 14.03.0248.002; Tue, 1 Mar 2016 12:35:58 +0100
From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
To: "Asveren, Tolga" <tasveren@sonusnet.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/efeEnpNaWjrEeaxVOONL18hQ==
Date: Tue, 01 Mar 2016 11:35:57 +0000
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B374B95F3@ESESSMB209.ericsson.se>
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> <SN1PR0301MB1551D1333297368D66B150ACB2BB0@SN1PR0301MB1551.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.146]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMIsWRmVeSWpSXmKPExsUyM2K7ge78uqthBl+Wylgc6+tis1j7r53d YnbneyaLxrl2DiweVyZcYfXYOesuu8eSJT+ZPC59/s8ewBLFZZOSmpNZllqkb5fAlbH69z+W gk8aFc33Z7M1MC5S6mLk5JAQMJFY/mYuO4QtJnHh3nq2LkYuDiGBw4wSvx80MEE4ixglWlYd YQOpYhMIlNi6bwGYLSJQKfH2/xxmEJtZQF3izuJz7CANwgJ9jBITfl9lBXFEBPoZJRacaWKG 6NCTaLk9kwnEZhFQkXh69hwjiM0r4Cvx4O1fVoh1jzglTkydAZZgBDrq+6k1TBArxCVuPZnP BHGsgMSSPeeZIWxRiZeP/7FC2EoSPzZcYoGo15O4MXUKG4StLbFs4WtmiGWCEidnPmGZwCg6 C8nYWUhaZiFpmYWkZQEjyypG0eLU4qTcdCNjvdSizOTi4vw8vbzUkk2MwKg6uOW36g7Gy28c DzEKcDAq8fAWnL0SJsSaWFZcmXuIUYKDWUmE17f2apgQb0piZVVqUX58UWlOavEhRmkOFiVx XtZPl8OEBNITS1KzU1MLUotgskwcnFINjEwVun6e8+1Tv5zs+Z5zeMEuH9HbT5LyFmxz8NEL YDfRauJImXNmc/KHpg3G86xkI+X87wSK/Ddxq0zyPf6hdcMyjtNPmmUjpmsy2URqHLn94fwZ ztM+5Q9evW+WP6XOIloYbGj3Km//fAPh2vtiHbwndrY7n0yvknT8lG29OJrv+IqNN61fKrEU ZyQaajEXFScCABuDiU6mAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/qLCIdG5rweoRCCdnrIgsXzJ04l8>
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:36:04 -0000

On 01/03/16 12:27, Asveren, Tolga wrote:
> 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.

I think differently. Having limits (based on real world 
experience/implementations and that allow agreed use cases to be 
supported) makes life easier for the app developer, the browser 
implementer and everyone involved in testing.

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