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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 ScriptPromise setRemoteDescription(ScriptState*, | 100 ScriptPromise setRemoteDescription(ScriptState*, |
101 const RTCSessionDescriptionInit&); | 101 const RTCSessionDescriptionInit&); |
102 ScriptPromise setRemoteDescription(ScriptState*, | 102 ScriptPromise setRemoteDescription(ScriptState*, |
103 const RTCSessionDescriptionInit&, | 103 const RTCSessionDescriptionInit&, |
104 VoidCallback*, | 104 VoidCallback*, |
105 RTCPeerConnectionErrorCallback*); | 105 RTCPeerConnectionErrorCallback*); |
106 RTCSessionDescription* remoteDescription(); | 106 RTCSessionDescription* remoteDescription(); |
107 | 107 |
108 String signalingState() const; | 108 String signalingState() const; |
109 | 109 |
110 void updateIce(ExecutionContext*, | 110 void setConfiguration(ExecutionContext*, |
111 const RTCConfiguration&, | 111 const RTCConfiguration&, |
112 const Dictionary& mediaConstraints, | 112 ExceptionState&); |
113 ExceptionState&); | |
114 | 113 |
115 // Certificate management | 114 // Certificate management |
116 // http://w3c.github.io/webrtc-pc/#sec.cert-mgmt | 115 // http://w3c.github.io/webrtc-pc/#sec.cert-mgmt |
117 static ScriptPromise generateCertificate( | 116 static ScriptPromise generateCertificate( |
118 ScriptState*, | 117 ScriptState*, |
119 const AlgorithmIdentifier& keygenAlgorithm, | 118 const AlgorithmIdentifier& keygenAlgorithm, |
120 ExceptionState&); | 119 ExceptionState&); |
121 | 120 |
122 ScriptPromise addIceCandidate(ScriptState*, | 121 ScriptPromise addIceCandidate(ScriptState*, |
123 const RTCIceCandidateInitOrRTCIceCandidate&); | 122 const RTCIceCandidateInitOrRTCIceCandidate&); |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 | 253 |
255 bool m_stopped; | 254 bool m_stopped; |
256 bool m_closed; | 255 bool m_closed; |
257 | 256 |
258 bool m_hasDataChannels; // For RAPPOR metrics | 257 bool m_hasDataChannels; // For RAPPOR metrics |
259 }; | 258 }; |
260 | 259 |
261 } // namespace blink | 260 } // namespace blink |
262 | 261 |
263 #endif // RTCPeerConnection_h | 262 #endif // RTCPeerConnection_h |
OLD | NEW |