This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26027 - addIceCandidate should not be callable when PeerConnection is closed
Summary: addIceCandidate should not be callable when PeerConnection is closed
Status: RESOLVED LATER
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Martin Thomson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 10:13 UTC by Harald Alvestrand
Modified: 2014-12-15 10:39 UTC (History)
1 user (show)

See Also:


Attachments

Description Harald Alvestrand 2014-06-10 10:13:33 UTC
addStream() has as part of its procedure:

If connection's RTCPeerConnection signalingState is closed, throw an InvalidStateError exception and abort these steps.

This check should also be done in addIceCandidate (and any other procedure that would otherwise enqueue a callback, except GetStats).
Comment 1 Harald Alvestrand 2014-10-31 18:16:03 UTC
Editorial. Martin will cover this as part of reworking the queueing stuff.
Comment 2 Dominique Hazael-Massieux 2014-12-15 10:39:39 UTC
WebRTC API bugs have been moved to github issues: https://github.com/w3c/webrtc-pc/issues

Please subscribe to the issues you want to keep watching.