W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2016

setRemoteDescription(RTCSessionDescriptionInit) rather than setRemoteDescription(RTCSessionDescription)

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Sun, 9 Oct 2016 16:16:21 +0200
Message-ID: <CALiegfkkeb-rBJYGaauoSx4bta6+odzs+1wnwRg_fH4NZTC=kw@mail.gmail.com>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:49 UTC