]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - video-transcoding.ts
cf792f9964aa3df69f185833be8d3b11f0d97481
[github/Chocobozzz/PeerTube.git] / video-transcoding.ts
1 import { exists } from './misc'
2
3 function isValidCreateTranscodingType (value: any) {
4 return exists(value) &&
5 (value === 'hls' || value === 'webtorrent')
6 }
7
8 // ---------------------------------------------------------------------------
9
10 export {
11 isValidCreateTranscodingType
12 }