mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-10-28 15:57:40 +03:00
13 lines
285 B
TypeScript
13 lines
285 B
TypeScript
import { exists } from './misc'
|
|
|
|
function isValidCreateTranscodingType (value: any) {
|
|
return exists(value) &&
|
|
(value === 'hls' || value === 'webtorrent')
|
|
}
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
export {
|
|
isValidCreateTranscodingType
|
|
}
|