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

[webrtc-pc] Race condition between createOffer and setIdentityProvider

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Tue, 09 May 2017 18:25:12 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-227455574-1494354311-sysbot+gh@w3.org>
taylor-b has just created a new issue for https://github.com/w3c/webrtc-pc:

== Race condition between createOffer and setIdentityProvider ==
Suppose an application does:

```
pc.setIdentityProvider(a);
pc.createOffer().then(...);
// Some time later, but before createOffer's promise has resolved:
pc.setIdentityProvider(b);
```

Is there a guarantee which identity provider will be used to generate "a=identity"?

Note that I already tried to fix the `createOffer` race conditions here: https://github.com/w3c/webrtc-pc/pull/875

But this one may still exist.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1184 using your GitHub account
Received on Tuesday, 9 May 2017 18:25:18 UTC

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