docs: function getMedia (uri, cert, mode, user, safe, bufferURI) {
    if (mode === 'api') {
      return getMediaByAPI(uri, cert, mode, user, safe, bufferURI)
    } else if (mode === 'buffer') {
      return getMediaByBuffer(uri, cert, mode, user, safe, bufferURI)
    } else if (mode === 'http') {
      return getMediaByHTTP(uri, cert, mode, user, safe, bufferURI)
    }
  }