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

Re: [webrtc-pc] RTCDataChannel.send during 'closing' state

From: Lennart Grahl via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Sep 2018 20:53:18 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-420057090-1536612792-sysbot+gh@w3.org>
@jhaenchen There's no need for cleanup in that case. I was going to write that:

> When the ICE connection state goes into `failed`, all data channels should be in the `closed` state immediately. If they aren't, it's a bug in the implementation.

But I haven't found a procedure in the spec that defines what should happen once the peer connection state goes into `failed`. @aboba, @jan-ivar, anyone? :sweat_smile: But to prevent becoming sidetracked in this issue, perhaps one of you could open a new issue when responding.

Anyhow, even if the procedure is missing, there is no need to do cleanup and the data channels should be in the `closed` state. Whether or not the `close` event should fire is up for debate. However, I would argue that the event should fire because it is triggered by the remote side.

GitHub Notification of comment by lgrahl
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1827#issuecomment-420057090 using your GitHub account
Received on Monday, 10 September 2018 20:53:19 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:45 UTC