1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add ability to run transcoding jobs

This commit is contained in:
Chocobozzz 2021-11-18 14:35:08 +01:00
parent b46cf4b920
commit ad5db1044c
No known key found for this signature in database
GPG key ID: 583A612D890159BE
54 changed files with 715 additions and 103 deletions

View file

@ -0,0 +1,12 @@
import { exists } from './misc'
function isValidCreateTranscodingType (value: any) {
return exists(value) &&
(value === 'hls' || value === 'webtorrent')
}
// ---------------------------------------------------------------------------
export {
isValidCreateTranscodingType
}