W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2018

[webrtc-pc] Redundant queuing in connection state computations.

From: jonasesolsson via GitHub <sysbot+gh@w3.org>
Date: Thu, 01 Nov 2018 15:19:55 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-376438799-1541085594-sysbot+gh@w3.org>
jonasesolsson has just created a new issue for https://github.com/w3c/webrtc-pc:

== Redundant queuing in connection state computations.  ==
Quoting the spec:

>When the ICE Agent indicates that the RTCIceTransportState for an RTCIceTransport has changed, the user agent MUST queue a task that runs the following steps:
> ...
> 8. Update the connection state of connection.

> 4.4.1.3 Update the connection state
> An RTCPeerConnection object has an aggregated connection state. Whenever the state of an RTCDtlsTransport or RTCIceTransport changes or when the [[IsClosed]] slot turns true, the user agent MUST update the connection state by queueing a task that runs the following steps:

Here it looks like we are _required_ to queue a task that queues another task. Is that intended? Should we allow the steps in 4.4.1.3 to be run synchronously?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2020 using your GitHub account
Received on Thursday, 1 November 2018 15:19:56 UTC

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