Index: client/dom/generated/src/interface/PeerConnection.dart |
diff --git a/client/dom/generated/src/interface/PeerConnection.dart b/client/dom/generated/src/interface/PeerConnection.dart |
index 1a26e0d06bdb5d38b80698db7d64c562540ef228..c9bbed8042189fd00dca0149142040c6dcc4abdc 100644 |
--- a/client/dom/generated/src/interface/PeerConnection.dart |
+++ b/client/dom/generated/src/interface/PeerConnection.dart |
@@ -26,11 +26,13 @@ interface PeerConnection { |
EventListener onremovestream; |
+ EventListener onstatechange; |
+ |
final int readyState; |
final MediaStreamList remoteStreams; |
- void addEventListener(String type, EventListener listener, bool useCapture); |
+ void addEventListener(String type, EventListener listener, [bool useCapture]); |
void addStream(MediaStream stream); |
@@ -40,7 +42,7 @@ interface PeerConnection { |
void processSignalingMessage(String message); |
- void removeEventListener(String type, EventListener listener, bool useCapture); |
+ void removeEventListener(String type, EventListener listener, [bool useCapture]); |
void removeStream(MediaStream stream); |