function preparePeerConnectionWithCertificate(
    certificate, peerConnectionConstraints = null) {
  if (gPeerConnection !== null)
    throw failTest('Creating peer connection, but we already have one.');
  gPeerConnection = createPeerConnection_(
      {iceServers:[], certificates:[certificate]}, peerConnectionConstraints);
  returnToTest('ok-peerconnection-created');
}
/**
 * Creates a peer connection. Must be called before most other public functions
 * in this file. Alternatively, see |preparePeerConnection|.
 * @param {!Object} certificate The |RTCCertificate| that will be used by the
 * peer connection.
 * @param {string} peerConnectionConstraints Unless null, this adds peer
 * connection constraints when creating new RTCPeerConnection.
 */
Creates a peer connection. Must be called before most other public functions
in this file.
Creates a peer connection . Must be called before most other public functions in this file .
function preparePeerConnectionWithCertificate(
    certificate, peerConnectionConstraints = null) {
  if (gPeerConnection !== null)
    throw failTest('Creating peer connection, but we already have one.');
  gPeerConnection = createPeerConnection_(
      {iceServers:[], certificates:[certificate]}, peerConnectionConstraints);
  returnToTest('ok-peerconnection-created');
}
function preparePeerConnectionWithCertificate ( certificate , peerConnectionConstraints = null ) { if ( gPeerConnection !== null ) throw failTest ( 'Creating peer connection, but we already have one.' ) ; gPeerConnection = createPeerConnection_ ( { iceServers : [ ] , certificates : [ certificate ] } , peerConnectionConstraints ) ; returnToTest ( 'ok-peerconnection-created' ) ; }
Creates a peer connection.
Creates a peer connection .