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

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