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

Re: [webrtc-pc] setLocalDescription() with empty string sdp is allowed to pass without calling createOffer/createAnswer

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Fri, 07 Jul 2017 05:15:23 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-313588829-1499404521-sysbot+gh@w3.org>
I don't think it will be "allowed to pass". Instead of being rejected with an `InvalidModificationError`,  step 5 indicates it would be rejected with `RTCError`: 

"5. If the content of description is not valid SDP syntax, then reject p with an RTCError (with errorDetail set to "sdp-syntax-error" and the sdpLineNumber attribute set to the line number in the SDP where the syntax error was detected) and abort these steps."

GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1463#issuecomment-313588829 using your GitHub account
Received on Friday, 7 July 2017 05:15:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:40 UTC