W3C home > Mailing lists > Public > public-webrtc@w3.org > July 2017

[webrtc-pc] setLocalDescription() with null sdp is not applicable

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Fri, 07 Jul 2017 07:13:13 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-241177453-1499411592-sysbot+gh@w3.org>
soareschen has just created a new issue for https://github.com/w3c/webrtc-pc:

== setLocalDescription() with null sdp is not applicable ==
The IDL definition for `setLocalDescription()` accepts an `RTCSessionDescriptionInit`, not `RTCSessionDescription`. The `sdp` field in `RTCSessionDescriptionInit` is optional but not nullable, and have a default value `''`. So the step in `setLocalDescription()` for using the last offer/answer if `description.sdp` is `null` is not applicable.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1465 using your GitHub account
Received on Friday, 7 July 2017 07:13:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:34 UTC