Change "onicechange" to "oniceconnectionstatechange" in webrtc.

The corresponding change to the WebRTC specification occurred in
January 2013.
This commit is contained in:
Ben Schwartz 2014-10-06 11:43:32 -04:00
parent 980a64347f
commit fcae92c73e

View File

@ -278,7 +278,7 @@ interface RTCPeerConnection {
onaddstream: (event: RTCMediaStreamEvent) => void;
onremovestream: (event: RTCMediaStreamEvent) => void;
onstatechange: (event: Event) => void;
onicechange: (event: Event) => void;
oniceconnectionstatechange: (event: Event) => void;
onicecandidate: (event: RTCIceCandidateEvent) => void;
onidentityresult: (event: Event) => void;
onsignalingstatechange: (event: Event) => void;