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

Re: Proposal and discussion for RtpSender.getCapabilities

From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 3 Nov 2014 15:12:15 -0800
Message-ID: <CABkgnnXs1Eg-QmD3G6-oFcqqZ4rQk1WGZgok5DBMzyLSdDJfZw@mail.gmail.com>
To: Peter Thatcher <pthatcher@google.com>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
On 3 November 2014 12:59, Peter Thatcher <pthatcher@google.com> wrote:
> dictionary RTCRtpCodecCapability {
>     DOMString kind;
[...]
> dictionary RTCRtpHdrExtCapability {
>     DOMString kind;

This duplication has me a little bothered.  If "kind" was not an
optional argument, or you had type-specific methods, you wouldn't need
these parameters.  (One benefit of the type-specific method is that
you can very quickly determine if the browser supports
smell-o-vision.)
Received on Monday, 3 November 2014 23:12:42 UTC

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