code: function(options) {
      var that = this
      this.name = options.name
  
      // Record the url and protocol, ignore SSL certs
      this.url = url.parse(options.url)
      if (this.url.protocol.indexOf('https') === 0) {
          this.protocol = https
          this.url.rejectUnauthorized = false
      }
      else
          this.protocol = http
  
      // Set the size
      imageSize = imageSizes[options.size] || imageSize
  
      // Initialise the jpg stream
      this.jpgStream = createJPGStream()
  
      // Start the MJPEG stream
      this._createVideoStream()
  }
docs: Wrapper for Axis camera VAPIX API
  
  url: the base URL for the camera
  name: a name that's associated with the camera