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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 [StrictTypeChecking, RaisesException] void removeStream(MediaStream stream); | 62 [StrictTypeChecking, RaisesException] void removeStream(MediaStream stream); |
63 | 63 |
64 void getStats(RTCStatsCallback successCallback, [Default=Undefined] optional
MediaStreamTrack selector); | 64 void getStats(RTCStatsCallback successCallback, [Default=Undefined] optional
MediaStreamTrack selector); |
65 | 65 |
66 [RaisesException] RTCDataChannel createDataChannel([TreatNullAs=NullString,
TreatUndefinedAs=NullString] DOMString label, optional Dictionary options); | 66 [RaisesException] RTCDataChannel createDataChannel([TreatNullAs=NullString,
TreatUndefinedAs=NullString] DOMString label, optional Dictionary options); |
67 | 67 |
68 [RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track); | 68 [RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track); |
69 | 69 |
70 [RaisesException] void close(); | 70 [RaisesException] void close(); |
71 | 71 |
72 attribute EventListener onnegotiationneeded; | 72 attribute EventHandler onnegotiationneeded; |
73 attribute EventListener onicecandidate; | 73 attribute EventHandler onicecandidate; |
74 attribute EventListener onsignalingstatechange; | 74 attribute EventHandler onsignalingstatechange; |
75 attribute EventListener onaddstream; | 75 attribute EventHandler onaddstream; |
76 attribute EventListener onremovestream; | 76 attribute EventHandler onremovestream; |
77 attribute EventListener oniceconnectionstatechange; | 77 attribute EventHandler oniceconnectionstatechange; |
78 attribute EventListener ondatachannel; | 78 attribute EventHandler ondatachannel; |
79 }; | 79 }; |
80 | 80 |
OLD | NEW |