start() {
    if (this.captureParams_.isTab()) {
      return this.startTabCapturing_();
    } else if (this.captureParams_.isOffscreenTab()) {
      return this.startOffscreenTabCapturing_();
    } else {
      return this.startDesktopCapturing_();
    }
  }
/**
   * Starts capturing media and sets audioTrack and videoTrack.
   * @return {!Promise<!mr.mirror.MirrorMediaStream>} Fulfilled when capture
   *     has started.
   */
Starts capturing media and sets audioTrack and videoTrack.
@return {!Promise} Fulfilled when capture
has started.
Starts capturing media and sets audioTrack and videoTrack . @return { !Promise } Fulfilled when capture has started .
start() {
    if (this.captureParams_.isTab()) {
      return this.startTabCapturing_();
    } else if (this.captureParams_.isOffscreenTab()) {
      return this.startOffscreenTabCapturing_();
    } else {
      return this.startDesktopCapturing_();
    }
  }
start ( ) { if ( this . captureParams_ . isTab ( ) ) { return this . startTabCapturing_ ( ) ; } else if ( this . captureParams_ . isOffscreenTab ( ) ) { return this . startOffscreenTabCapturing_ ( ) ; } else { return this . startDesktopCapturing_ ( ) ; } }
Starts capturing media and sets audioTrack and videoTrack.
Starts capturing media and sets audioTrack and videoTrack .