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

Fix audio transcoding with video only file

This commit is contained in:
Chocobozzz 2022-01-06 17:55:37 +01:00
parent 78a5dd9c69
commit cbe2f36d93
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 46 additions and 16 deletions

View file

@ -103,18 +103,23 @@ interface BaseTranscodingPayload {
export interface HLSTranscodingPayload extends BaseTranscodingPayload {
type: 'new-resolution-to-hls'
isPortraitMode?: boolean
resolution: VideoResolution
copyCodecs: boolean
hasAudio: boolean
isPortraitMode?: boolean
autoDeleteWebTorrentIfNeeded: boolean
isMaxQuality: boolean
}
export interface NewResolutionTranscodingPayload extends BaseTranscodingPayload {
type: 'new-resolution-to-webtorrent'
isPortraitMode?: boolean
resolution: VideoResolution
hasAudio: boolean
isPortraitMode?: boolean
}
export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload {