Re: RTCSessionDescription and RTCIceCandidate

On 14 September 2015 at 14:03, Harald Alvestrand <harald@alvestrand.no> wrote:
> I don't see any huge advantage of using "dictionary" over "interface",
> but that may be just me.

Here's why:

Previously:

signaling.oncandidate = c => {
  RTCIceCandidate = RTCIceCandidate || mozRTCIceCandidate;
  pc.addIceCandidate(new RTCIceCandidate(c));
};

With the change:

signaling.oncandidate = c => {
  pc.addIceCandidate(c);
};

Received on Monday, 14 September 2015 21:08:44 UTC