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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 [CallWith=ScriptState, RaisesException] RTCDataChannel createDataChannel(DOM
String? label, optional Dictionary options); | 121 [CallWith=ScriptState, RaisesException] RTCDataChannel createDataChannel(DOM
String? label, optional Dictionary options); |
122 attribute EventHandler ondatachannel; | 122 attribute EventHandler ondatachannel; |
123 | 123 |
124 // Certificate management | 124 // Certificate management |
125 // https://w3c.github.io/webrtc-pc/#sec.cert-mgmt | 125 // https://w3c.github.io/webrtc-pc/#sec.cert-mgmt |
126 [RaisesException, CallWith=ScriptState] static Promise<RTCCertificate> gener
ateCertificate(AlgorithmIdentifier keygenAlgorithm); | 126 [RaisesException, CallWith=ScriptState] static Promise<RTCCertificate> gener
ateCertificate(AlgorithmIdentifier keygenAlgorithm); |
127 | 127 |
128 // Non-standard or removed from the spec: | 128 // Non-standard or removed from the spec: |
129 [Measure] sequence<MediaStream> getLocalStreams(); | 129 [Measure] sequence<MediaStream> getLocalStreams(); |
130 [Measure] sequence<MediaStream> getRemoteStreams(); | 130 [Measure] sequence<MediaStream> getRemoteStreams(); |
131 [Measure] MediaStream getStreamById(DOMString streamId); | 131 [DeprecateAs=V8RTCPeerConnection_GetStreamById_Method] MediaStream getStream
ById(DOMString streamId); |
132 [Measure, CallWith=ScriptState, RaisesException] void addStream(MediaStream?
stream, optional Dictionary mediaConstraints); | 132 [Measure, CallWith=ScriptState, RaisesException] void addStream(MediaStream?
stream, optional Dictionary mediaConstraints); |
133 [Measure, RaisesException] void removeStream(MediaStream? stream); | 133 [Measure, RaisesException] void removeStream(MediaStream? stream); |
134 [Measure, RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack t
rack); | 134 [Measure, RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack t
rack); |
135 attribute EventHandler onaddstream; | 135 attribute EventHandler onaddstream; |
136 attribute EventHandler onremovestream; | 136 attribute EventHandler onremovestream; |
137 }; | 137 }; |
OLD | NEW |