W3C home > Mailing lists > Public > public-webrtc@w3.org > June 2014

[Bug 26027] New: addIceCandidate should not be callable when PeerConnection is closed

From: <bugzilla@jessica.w3.org>
Date: Tue, 10 Jun 2014 10:13:33 +0000
To: public-webrtc@w3.org
Message-ID: <bug-26027-4991@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26027

            Bug ID: 26027
           Summary: addIceCandidate should not be callable when
                    PeerConnection is closed
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebRTC API
          Assignee: public-webrtc@w3.org
          Reporter: harald@alvestrand.no
                CC: public-webrtc@w3.org

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).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
Received on Tuesday, 10 June 2014 10:13:37 UTC

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