PeerTube/server/helpers/custom-validators/metrics.ts

10 lines
220 B
TypeScript
Raw Normal View History

function isValidPlayerMode (value: any) {
return value === 'webtorrent' || value === 'p2p-media-loader'
}
// ---------------------------------------------------------------------------
export {
isValidPlayerMode
}