code: function (frameData) {
        // Would be better to check controller.streaming() in showOverlay, but that method doesn't exist, yet.
        this.setGraphic('wave');
        if (frameData.hands.length > 0) {
          this.recording.addFrame(frameData);
          this.hideOverlay();
        } else if ( !this.recording.blank() ) {
          this.finishRecording();
        }
      }
docs: this method replaces connection.handleData when in record mode It accepts the raw connection data which is used to make a frame.