setRemoteDescription(RTCSessionDescriptionInit) rather than setRemoteDescription(RTCSessionDescription)

Hi,

According to https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-setremotedescription,
setRemoteDescription() must be called with a RTCSessionDescriptionInit
(an Object) rather than a RTCSessionDescription instance.

Is this true? AFAIR, in previous spec versions setRemoteDescription()
requires a RTCSessionDescription instance (created via new
RTCSessionDescription).

-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Sunday, 9 October 2016 14:17:11 UTC