W3C home > Mailing lists > Public > public-webrtc@w3.org > June 2014

Re: Proposal: Fire a toneDiscarded event while discarding the invalid DTMF values.

From: Martin Thomson <martin.thomson@gmail.com>
Date: Sat, 14 Jun 2014 12:22:30 -0700
Message-ID: <CABkgnnWDbGf-ysYPxaTN=XwmXPm_jzshZ_kQpBKaZjOkY9BSvA@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: Stefan HÃ¥kansson LK <stefan.lk.hakansson@ericsson.com>, tim panton <thp@westhawk.co.uk>, "Makaraju, Maridi Raju (Raju)" <Raju.Makaraju@alcatel-lucent.com>, Adam Bergkvist <adam.bergkvist@ericsson.com>, Justin Uberti <juberti@google.com>, Kiran Kumar Guduru <kiran.guduru@samsung.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On 14 June 2014 02:19, Harald Alvestrand <harald@alvestrand.no> wrote:
>> FWIW, I'm with Tim on this one. I also think it makes it clearer -
>> either the UA throws, or it sends all symbols.
>
> FWIW, I think the spec will be simpler if we throw
> IllegalCharacterException on strings that contain any character except
> [0-9A-Da-d*#,], and have no special treatment at sendout time (illegal
> characters can't occur there).


FWIW, FWIW isn't necessary.  This is simply good design.  Having
something blow up early avoids nasty deferred surprises.
Received on Saturday, 14 June 2014 19:22:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:41 UTC