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

Prevent HLS transcoding after webtorrent transcoding

This commit is contained in:
Chocobozzz 2022-02-01 11:16:45 +01:00
parent 3e8c3fcdb0
commit 0f11ec8dd3
No known key found for this signature in database
GPG key ID: 583A612D890159BE
6 changed files with 42 additions and 9 deletions

View file

@ -25,7 +25,7 @@ export {
async function createTranscoding (req: express.Request, res: express.Response) {
const video = res.locals.videoAll
logger.info('Creating %s transcoding job for %s.', req.body.type, video.url, lTags())
logger.info('Creating %s transcoding job for %s.', req.body.transcodingType, video.url, lTags())
const body: VideoTranscodingCreate = req.body
@ -53,8 +53,9 @@ async function createTranscoding (req: express.Request, res: express.Response) {
type: 'new-resolution-to-webtorrent',
videoUUID: video.uuid,
isNewVideo: false,
resolution: resolution,
resolution,
hasAudio: !!audioStream,
createHLSIfNeeded: false,
isPortraitMode
})
}