createOffer_() {
    this.logger_.info('Sending offer to peer.');
    this.offerCreationTime_ = Date.now();

    this.peerConnection_.createOffer(
        this.setLocalDescription_.bind(this), error => {
          this.logger_.warning('Error creating offer.', error);
        }, this.mediaConstraints_);
    this.getSessionDescription().then(sessionDescription => {
      this.onOfferDescription_(sessionDescription);
    });
  }
/**
   * Initiates a call to the peer.
   * @private
   */
Initiates a call to the peer.
@private
Initiates a call to the peer . @private
createOffer_() {
    this.logger_.info('Sending offer to peer.');
    this.offerCreationTime_ = Date.now();
    this.peerConnection_.createOffer(
        this.setLocalDescription_.bind(this), error => {
          this.logger_.warning('Error creating offer.', error);
        }, this.mediaConstraints_);
    this.getSessionDescription().then(sessionDescription => {
      this.onOfferDescription_(sessionDescription);
    });
  }
createOffer_ ( ) { this . logger_ . info ( 'Sending offer to peer.' ) ; this . offerCreationTime_ = Date . now ( ) ; this . peerConnection_ . createOffer ( this . setLocalDescription_ . bind ( this ) , error => { this . logger_ . warning ( 'Error creating offer.' , error ) ; } , this . mediaConstraints_ ) ; this . getSessionDescription ( ) . then ( sessionDescription => { this . onOfferDescription_ ( sessionDescription ) ; } ) ; }
Initiates a call to the peer.
Initiates a call to the peer .