- From: cowwoc <cowwoc@bbs.darktech.org>
- Date: Mon, 19 May 2014 11:51:51 -0400
- To: Peter Thatcher <pthatcher@google.com>
- CC: "public-ortc@w3.org" <public-ortc@w3.org>
Received on Monday, 19 May 2014 15:52:30 UTC
Again, why? What is gained by this approach over using separate methods for each type? Gili On 19/05/2014 8:49 AM, Peter Thatcher wrote: > It can be an enum. > > > On Mon, May 12, 2014 at 8:53 AM, cowwoc <cowwoc@bbs.darktech.org > <mailto:cowwoc@bbs.darktech.org>> wrote: > > On 10/05/2014 1:12 PM, Bernard Aboba wrote: > > Peter Thatcher said: > > "I'd be happy with > > .getCapabilities() => returns combined audio+video capabilities > .getCapabilities("audio") => returns audio capabilities > .getCapabilities("video") => returns video capabilities" > > [BA] Works for me. > > How about getAudioCapabilities(), getVideoCapabilities() in order > to maintain compile-time safety? I don't think using Strings buys > you anything here. > > Gili > >
Received on Monday, 19 May 2014 15:52:30 UTC