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

Re: [webrtc-pc] setConfiguration can "unset" some configurations

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Fri, 07 Jul 2017 03:27:32 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-313577705-1499398051-sysbot+gh@w3.org>
If that is the intended behavior then that's fine. However note that the certificates in configuration _can_ be "unset" because `InvalidModificationError` is thrown only if `configuration.certificates` is set, and `certificates` is not a required field and have no default value in `RTCConfiguration`.

>  If configuration.certificates is set and the set of certificates differs from the ones used when connection was constructed, throw an InvalidModificationError.

-- 
GitHub Notification of comment by soareschen
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1454#issuecomment-313577705 using your GitHub account
Received on Friday, 7 July 2017 03:27:38 UTC

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