2021-11-18 07:35:08 -06:00
|
|
|
import { exists } from './misc'
|
|
|
|
|
|
|
|
function isValidCreateTranscodingType (value: any) {
|
|
|
|
return exists(value) &&
|
2023-07-11 02:21:13 -05:00
|
|
|
(value === 'hls' || value === 'webtorrent' || value === 'web-video') // TODO: remove webtorrent in v7
|
2021-11-18 07:35:08 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
export {
|
|
|
|
isValidCreateTranscodingType
|
|
|
|
}
|