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

4 lines
114 B
TypeScript
Raw Normal View History

2024-11-04 03:16:31 -06:00
export function isValidPlayerMode (value: any) {
return value === 'web-video' || value === 'p2p-media-loader'
}