I agree with this in general.What capabilities are you thinking of?
However, I'd suggest that the API needs to provide more information on browser capabilities than just the supported
codecs, if the goal is to permit detailed negotiations such as Jingle or SDP offer/answer.