aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/metrics.ts
blob: 533f8988d9edbcf8c18c9d399fb696f0095ca987 (plain) (blame)
1
2
3
4
5
6
7
8
9
function isValidPlayerMode (value: any) {
  return value === 'webtorrent' || value === 'p2p-media-loader'
}

// ---------------------------------------------------------------------------

export {
  isValidPlayerMode
}