W3C home > Mailing lists > Public > public-webrtc@w3.org > April 2016

No events fired as a result of pc.close() - OK?

From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Date: Wed, 27 Apr 2016 06:18:13 +0000
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B3751EE00@ESESSMB209.ericsson.se>
All,

see [1]. Using close method on a PeerConnection leads to it silently 
closing, there are no events (like signalingstatechange) fired.

This is analogous to how we do for MediaStreamTrack (i.e. no ended event 
if stopped by the script).

Does anyone see good reasons for changing this behavior for PeerConnection?

Stefan


[1] https://github.com/w3c/webrtc-pc/issues/565
Received on Wednesday, 27 April 2016 06:19:40 UTC

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