On Mon, Apr 28, 2014 at 9:26 AM, Martin Thomson <martin.thomson@gmail.com>wrote:
> I like this. I think that this makes for a good starting point for
> building the sorts of features Suhas was talking about enabling.
>
> Two comments:
>
> > double priority = 1.0; // relative priority of this
> encoding
>
> This concerns me. I'm not sure how I would convert a double-precision
> number into any of the primitive we've discussed thus far.
>
> > partial interface RTCPeerConnection {
>
> Does this need a lookup (track -> sender/receiver) ?
>
​Couldn't you just iterate over the senders and receivers and check .track?
It sounds like a few lines of JS.