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:
parent
3e8c3fcdb0
commit
0f11ec8dd3
6 changed files with 42 additions and 9 deletions
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue