update profile name

This commit is contained in:
matty 2024-03-10 17:36:43 -04:00
parent 9c7a2de2e9
commit 29d44fc31a

2
dist/main.js vendored
View File

@ -28,7 +28,7 @@ async function register({ settingsManager, peertubeHelpers, transcodingManager:
transcodingManager = transcode;
logger.info("Registering peertube-plugin-nctv-hardware-encode");
const encoder = 'h264_nvenc';
const profileName = 'nvenc';
const profileName = 'nctv-nvenc';
transcodingManager.addVODProfile(encoder, profileName, vodBuilder);
transcodingManager.addVODEncoderPriority('video', encoder, 1000);
transcodingManager.addLiveProfile(encoder, profileName, liveBuilder);