| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 void setLocalDescription(in RTCSessionDescription description, in [Callback,
Optional=DefaultIsUndefined] VoidCallback successCallback, in [Callback, Option
al=DefaultIsUndefined] RTCErrorCallback failureCallback) | 45 void setLocalDescription(in RTCSessionDescription description, in [Callback,
Optional=DefaultIsUndefined] VoidCallback successCallback, in [Callback, Option
al=DefaultIsUndefined] RTCErrorCallback failureCallback) |
| 46 raises(DOMException); | 46 raises(DOMException); |
| 47 readonly attribute RTCSessionDescription localDescription | 47 readonly attribute RTCSessionDescription localDescription |
| 48 getter raises(DOMException); | 48 getter raises(DOMException); |
| 49 | 49 |
| 50 void setRemoteDescription(in RTCSessionDescription description, in [Callback
, Optional=DefaultIsUndefined] VoidCallback successCallback, in [Callback, Optio
nal=DefaultIsUndefined] RTCErrorCallback failureCallback) | 50 void setRemoteDescription(in RTCSessionDescription description, in [Callback
, Optional=DefaultIsUndefined] VoidCallback successCallback, in [Callback, Optio
nal=DefaultIsUndefined] RTCErrorCallback failureCallback) |
| 51 raises(DOMException); | 51 raises(DOMException); |
| 52 readonly attribute RTCSessionDescription remoteDescription | 52 readonly attribute RTCSessionDescription remoteDescription |
| 53 getter raises(DOMException); | 53 getter raises(DOMException); |
| 54 | 54 |
| 55 // DEPRECATED | |
| 56 readonly attribute DOMString readyState; | |
| 57 | |
| 58 readonly attribute DOMString signalingState; | 55 readonly attribute DOMString signalingState; |
| 59 | 56 |
| 60 void updateIce(in [Optional] Dictionary configuration, in [Optional] Diction
ary mediaConstraints) | 57 void updateIce(in [Optional] Dictionary configuration, in [Optional] Diction
ary mediaConstraints) |
| 61 raises(DOMException); | 58 raises(DOMException); |
| 62 | 59 |
| 63 void addIceCandidate(in RTCIceCandidate candidate) | 60 void addIceCandidate(in RTCIceCandidate candidate) |
| 64 raises(DOMException); | 61 raises(DOMException); |
| 65 | 62 |
| 66 readonly attribute DOMString iceGatheringState; | 63 readonly attribute DOMString iceGatheringState; |
| 67 readonly attribute DOMString iceConnectionState; | 64 readonly attribute DOMString iceConnectionState; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 81 raises(DOMException); | 78 raises(DOMException); |
| 82 | 79 |
| 83 RTCDTMFSender createDTMFSender(in MediaStreamTrack track) | 80 RTCDTMFSender createDTMFSender(in MediaStreamTrack track) |
| 84 raises(DOMException); | 81 raises(DOMException); |
| 85 | 82 |
| 86 void close() | 83 void close() |
| 87 raises(DOMException); | 84 raises(DOMException); |
| 88 | 85 |
| 89 attribute EventListener onnegotiationneeded; | 86 attribute EventListener onnegotiationneeded; |
| 90 attribute EventListener onicecandidate; | 87 attribute EventListener onicecandidate; |
| 91 attribute EventListener onstatechange; | 88 attribute EventListener onsignalingstatechange; |
| 92 attribute EventListener onaddstream; | 89 attribute EventListener onaddstream; |
| 93 attribute EventListener onremovestream; | 90 attribute EventListener onremovestream; |
| 94 attribute EventListener ongatheringchange; | 91 attribute EventListener oniceconnectionstatechange; |
| 95 attribute EventListener onicechange; | |
| 96 attribute EventListener ondatachannel; | 92 attribute EventListener ondatachannel; |
| 97 | 93 |
| 98 // EventTarget interface | 94 // EventTarget interface |
| 99 void addEventListener(in DOMString type, | 95 void addEventListener(in DOMString type, |
| 100 in EventListener listener, | 96 in EventListener listener, |
| 101 in [Optional] boolean useCapture); | 97 in [Optional] boolean useCapture); |
| 102 void removeEventListener(in DOMString type, | 98 void removeEventListener(in DOMString type, |
| 103 in EventListener listener, | 99 in EventListener listener, |
| 104 in [Optional] boolean useCapture); | 100 in [Optional] boolean useCapture); |
| 105 boolean dispatchEvent(in Event event) | 101 boolean dispatchEvent(in Event event) |
| 106 raises(EventException); | 102 raises(EventException); |
| 107 }; | 103 }; |
| 108 | 104 |
| OLD | NEW |