| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface PeerConnection { | 7 interface PeerConnection default _PeerConnectionFactoryProvider { |
| 8 |
| 9 PeerConnection(String serverConfiguration, SignalingCallback signalingCallback
); |
| 8 | 10 |
| 9 static final int ACTIVE = 2; | 11 static final int ACTIVE = 2; |
| 10 | 12 |
| 11 static final int CLOSED = 3; | 13 static final int CLOSED = 3; |
| 12 | 14 |
| 13 static final int NEGOTIATING = 1; | 15 static final int NEGOTIATING = 1; |
| 14 | 16 |
| 15 static final int NEW = 0; | 17 static final int NEW = 0; |
| 16 | 18 |
| 17 final MediaStreamList localStreams; | 19 final MediaStreamList localStreams; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 41 bool dispatchEvent(Event event); | 43 bool dispatchEvent(Event event); |
| 42 | 44 |
| 43 void processSignalingMessage(String message); | 45 void processSignalingMessage(String message); |
| 44 | 46 |
| 45 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 47 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 46 | 48 |
| 47 void removeStream(MediaStream stream); | 49 void removeStream(MediaStream stream); |
| 48 | 50 |
| 49 void send(String text); | 51 void send(String text); |
| 50 } | 52 } |
| OLD | NEW |