Variable RTCPeerConnection
RTCPeerConnection: {
prototype: RTCPeerConnection;
generateCertificate(
keygenAlgorithm: AlgorithmIdentifier,
): Promise<RTCCertificate>;
new (configuration?: RTCConfiguration): RTCPeerConnection;
}
prototype: RTCPeerConnection;
generateCertificate(
keygenAlgorithm: AlgorithmIdentifier,
): Promise<RTCCertificate>;
new (configuration?: RTCConfiguration): RTCPeerConnection;
}
Type declaration
- new (configuration?: RTCConfiguration): RTCPeerConnection
- Parameters- Optionalconfiguration: RTCConfiguration
 - Returns RTCPeerConnection
 
- prototype: RTCPeerConnection
- generateCertificate:function- generateCertificate(
 keygenAlgorithm: AlgorithmIdentifier,
 ): Promise<RTCCertificate>
- Parameters- keygenAlgorithm: AlgorithmIdentifier
 - Returns Promise<RTCCertificate>
 
- generateCertificate(
MDN Reference