mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Remove deprecated server code
This commit is contained in:
parent
11fd3a4618
commit
3842a527f6
39 changed files with 40 additions and 173 deletions
|
@ -1,12 +1,5 @@
|
|||
import { exists } from './misc.js'
|
||||
|
||||
function isValidCreateTranscodingType (value: any) {
|
||||
return exists(value) &&
|
||||
(value === 'hls' || value === 'webtorrent' || value === 'web-video') // TODO: remove webtorrent in v7
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export {
|
||||
isValidCreateTranscodingType
|
||||
export function isValidCreateTranscodingType (value: any) {
|
||||
return exists(value) && (value === 'hls' || value === 'web-video')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue