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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 // Non-standard or removed from the spec: | 123 // Non-standard or removed from the spec: |
124 [RaisesException] void updateIce(optional Dictionary configuration, optional
Dictionary mediaConstraints); | 124 [RaisesException] void updateIce(optional Dictionary configuration, optional
Dictionary mediaConstraints); |
125 sequence<MediaStream> getLocalStreams(); | 125 sequence<MediaStream> getLocalStreams(); |
126 sequence<MediaStream> getRemoteStreams(); | 126 sequence<MediaStream> getRemoteStreams(); |
127 MediaStream getStreamById(DOMString streamId); | 127 MediaStream getStreamById(DOMString streamId); |
128 [TypeChecking=Interface, RaisesException] void addStream(MediaStream? stream
, optional Dictionary mediaConstraints); | 128 [TypeChecking=Interface, RaisesException] void addStream(MediaStream? stream
, optional Dictionary mediaConstraints); |
129 [TypeChecking=Interface, RaisesException] void removeStream(MediaStream? str
eam); | 129 [TypeChecking=Interface, RaisesException] void removeStream(MediaStream? str
eam); |
130 [RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track); | 130 [RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track); |
131 attribute EventHandler onaddstream; | 131 attribute EventHandler onaddstream; |
132 attribute EventHandler onremovestream; | 132 attribute EventHandler onremovestream; |
| 133 |
| 134 // Certificate Management |
| 135 // http://w3c.github.io/webrtc-pc/#sec.cert-mgmt |
| 136 // TODO(hbos): Use AlgorithmIdentifier and the WebCryptoAPI normalization pr
ocess. crbug.com/544917 |
| 137 [RuntimeEnabled=RTCCertificate, RaisesException, CallWith=ScriptState] stati
c Promise<RTCCertificate> generateCertificate(Dictionary keygenAlgorithm); |
133 }; | 138 }; |
OLD | NEW |