| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 sequence<MediaStream> getLocalStreams(); | 69 sequence<MediaStream> getLocalStreams(); |
| 70 sequence<MediaStream> getRemoteStreams(); | 70 sequence<MediaStream> getRemoteStreams(); |
| 71 MediaStream getStreamById(DOMString streamId); |
| 71 | 72 |
| 72 [StrictTypeChecking] void addStream(in MediaStream stream, in [Optional] Dic
tionary mediaConstraints) | 73 [StrictTypeChecking] void addStream(in MediaStream stream, in [Optional] Dic
tionary mediaConstraints) |
| 73 raises(DOMException); | 74 raises(DOMException); |
| 74 [StrictTypeChecking] void removeStream(in MediaStream stream) | 75 [StrictTypeChecking] void removeStream(in MediaStream stream) |
| 75 raises(DOMException); | 76 raises(DOMException); |
| 76 | 77 |
| 77 void getStats(in [Callback] RTCStatsCallback successCallback, in [Optional=D
efaultIsUndefined] MediaStreamTrack selector); | 78 void getStats(in [Callback] RTCStatsCallback successCallback, in [Optional=D
efaultIsUndefined] MediaStreamTrack selector); |
| 78 | 79 |
| 79 RTCDataChannel createDataChannel(in [TreatNullAs=NullString, TreatUndefinedA
s=NullString] DOMString label, in [Optional] Dictionary options) | 80 RTCDataChannel createDataChannel(in [TreatNullAs=NullString, TreatUndefinedA
s=NullString] DOMString label, in [Optional] Dictionary options) |
| 80 raises(DOMException); | 81 raises(DOMException); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 98 void addEventListener(in DOMString type, | 99 void addEventListener(in DOMString type, |
| 99 in EventListener listener, | 100 in EventListener listener, |
| 100 in [Optional] boolean useCapture); | 101 in [Optional] boolean useCapture); |
| 101 void removeEventListener(in DOMString type, | 102 void removeEventListener(in DOMString type, |
| 102 in EventListener listener, | 103 in EventListener listener, |
| 103 in [Optional] boolean useCapture); | 104 in [Optional] boolean useCapture); |
| 104 boolean dispatchEvent(in Event event) | 105 boolean dispatchEvent(in Event event) |
| 105 raises(EventException); | 106 raises(EventException); |
| 106 }; | 107 }; |
| 107 | 108 |
| OLD | NEW |