All checks were successful
SSH Backend Deploy / ssh-deploy (push) Successful in 1m51s
feat(routes): Add camera, image, measurement, project, and video routes with Swagger documentation feat(services): Create storageService and videoService for file management and video processing fix(errorHandler): Enhance error handling with standardized responses and database operation wrappers
14 lines
599 B
JavaScript
14 lines
599 B
JavaScript
/**
|
|
* Ce fichier est conservé pour la rétrocompatibilité mais redirige vers le nouveau service vidéo.
|
|
* Il sera progressivement supprimé lorsque toutes les références auront été mises à jour.
|
|
*/
|
|
|
|
const VideoService = require('../services/videoService');
|
|
|
|
// Fonction de pont pour maintenir la compatibilité avec l'ancien code
|
|
async function createVideoWithList(projectId, pathList, duration, videoId, res_width, res_height) {
|
|
return await VideoService.createVideoFromImages(projectId, pathList, duration, videoId, res_width, res_height);
|
|
}
|
|
|
|
module.exports = { createVideoWithList };
|