st;
    gFirstConnection.addStream(localStream);
    gFirstConnection.createOffer(onOfferCreated);

    var videoTag = document.getElementById('local-view');
    videoTag.src = webkitURL.createObjectURL(localStream);
  };

  var onOfferCreated = test.step_func(function(offer) {
    gFirstConnection.setLocalDescription(offer);

    // This would normally go across the application's signaling solution.
    // In our case, the "signaling" is to call this function.
    receiveCall(offer.sdp);
  });

  function 