diff options
Diffstat (limited to 'server/helpers/custom-validators/video-lives.ts')
-rw-r--r-- | server/helpers/custom-validators/video-lives.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/server/helpers/custom-validators/video-lives.ts b/server/helpers/custom-validators/video-lives.ts deleted file mode 100644 index 69d08ae68..000000000 --- a/server/helpers/custom-validators/video-lives.ts +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | import { LiveVideoLatencyMode } from '@shared/models' | ||
2 | |||
3 | function isLiveLatencyModeValid (value: any) { | ||
4 | return [ LiveVideoLatencyMode.DEFAULT, LiveVideoLatencyMode.SMALL_LATENCY, LiveVideoLatencyMode.HIGH_LATENCY ].includes(value) | ||
5 | } | ||
6 | |||
7 | // --------------------------------------------------------------------------- | ||
8 | |||
9 | export { | ||
10 | isLiveLatencyModeValid | ||
11 | } | ||