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

[webrtc-pc] setConfiguration({ peerIdentity }) when there is no initial peerIdentity

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Thu, 06 Jul 2017 09:48:33 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-240902295-1499334511-sysbot+gh@w3.org>
soareschen has just created a new issue for https://github.com/w3c/webrtc-pc:

== setConfiguration({ peerIdentity }) when there is no initial peerIdentity ==
`setConfiguration` says:

>  If configuration.peerIdentity is set and its value differs from the target peer identity, throw an InvalidModificationError.

`setRemoteDescription` says

> The target peer identity cannot be changed once set.

If a peer connection is initially constructed without a `peerIdentity`, there is no target peer identity established, so it is not set. So when `setConfiguration()` is called with a new `peerIdentity`, is there error thrown?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1456 using your GitHub account
Received on Thursday, 6 July 2017 09:48:39 UTC

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