code: function() {
          if (!this._used) {
              if (this._started) {
                  this.movieFileOutput('stopRecording');
                  this.pool('drain');
                  this._started = false;
                  this._used = true;
                  return this.location;
              } else {
                  throw new Error("Try starting it first!");
              }
          } else {
              throw new Error("Recording has completed. To make a new recording, create a new Castro object.");
          }
      }
docs: Stop recording