| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 void updateIce(in [Optional] Dictionary configuration, in [Optional] Diction
ary mediaConstraints) | 60 void updateIce(in [Optional] Dictionary configuration, in [Optional] Diction
ary mediaConstraints) |
| 61 raises(DOMException); | 61 raises(DOMException); |
| 62 | 62 |
| 63 void addIceCandidate(in RTCIceCandidate candidate) | 63 void addIceCandidate(in RTCIceCandidate candidate) |
| 64 raises(DOMException); | 64 raises(DOMException); |
| 65 | 65 |
| 66 readonly attribute DOMString iceGatheringState; | 66 readonly attribute DOMString iceGatheringState; |
| 67 readonly attribute DOMString iceConnectionState; | 67 readonly attribute DOMString iceConnectionState; |
| 68 | 68 |
| 69 readonly attribute MediaStreamList localStreams; | 69 sequence<MediaStream> getLocalStreams(); |
| 70 readonly attribute MediaStreamList remoteStreams; | 70 sequence<MediaStream> getRemoteStreams(); |
| 71 | 71 |
| 72 [StrictTypeChecking] void addStream(in MediaStream stream, in [Optional] Dic
tionary mediaConstraints) | 72 [StrictTypeChecking] void addStream(in MediaStream stream, in [Optional] Dic
tionary mediaConstraints) |
| 73 raises(DOMException); | 73 raises(DOMException); |
| 74 [StrictTypeChecking] void removeStream(in MediaStream stream) | 74 [StrictTypeChecking] void removeStream(in MediaStream stream) |
| 75 raises(DOMException); | 75 raises(DOMException); |
| 76 | 76 |
| 77 void getStats(in [Callback] RTCStatsCallback successCallback, in [Optional=D
efaultIsUndefined] MediaStreamTrack selector); | 77 void getStats(in [Callback] RTCStatsCallback successCallback, in [Optional=D
efaultIsUndefined] MediaStreamTrack selector); |
| 78 | 78 |
| 79 RTCDataChannel createDataChannel(in [TreatNullAs=NullString, TreatUndefinedA
s=NullString] DOMString label, in [Optional] Dictionary options) | 79 RTCDataChannel createDataChannel(in [TreatNullAs=NullString, TreatUndefinedA
s=NullString] DOMString label, in [Optional] Dictionary options) |
| 80 raises(DOMException); | 80 raises(DOMException); |
| 81 | 81 |
| 82 RTCDTMFSender createDTMFSender(in MediaStreamTrack track) |
| 83 raises(DOMException); |
| 84 |
| 82 void close() | 85 void close() |
| 83 raises(DOMException); | 86 raises(DOMException); |
| 84 | 87 |
| 85 attribute EventListener onnegotiationneeded; | 88 attribute EventListener onnegotiationneeded; |
| 86 attribute EventListener onicecandidate; | 89 attribute EventListener onicecandidate; |
| 87 attribute EventListener onstatechange; | 90 attribute EventListener onstatechange; |
| 88 attribute EventListener onaddstream; | 91 attribute EventListener onaddstream; |
| 89 attribute EventListener onremovestream; | 92 attribute EventListener onremovestream; |
| 90 attribute EventListener ongatheringchange; | 93 attribute EventListener ongatheringchange; |
| 91 attribute EventListener onicechange; | 94 attribute EventListener onicechange; |
| 92 attribute EventListener ondatachannel; | 95 attribute EventListener ondatachannel; |
| 93 | 96 |
| 94 // EventTarget interface | 97 // EventTarget interface |
| 95 void addEventListener(in DOMString type, | 98 void addEventListener(in DOMString type, |
| 96 in EventListener listener, | 99 in EventListener listener, |
| 97 in [Optional] boolean useCapture); | 100 in [Optional] boolean useCapture); |
| 98 void removeEventListener(in DOMString type, | 101 void removeEventListener(in DOMString type, |
| 99 in EventListener listener, | 102 in EventListener listener, |
| 100 in [Optional] boolean useCapture); | 103 in [Optional] boolean useCapture); |
| 101 boolean dispatchEvent(in Event event) | 104 boolean dispatchEvent(in Event event) |
| 102 raises(EventException); | 105 raises(EventException); |
| 103 }; | 106 }; |
| 104 | 107 |
| OLD | NEW |