UNPKG

@eleven-am/transcoder

Version:

High-performance HLS transcoding library with hardware acceleration, intelligent client management, and distributed processing support for Node.js

49 lines 3.49 kB
"use strict"; /* * @eleven-am/transcoder * Copyright (C) 2025 Roy OSSAI * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ffmpeg = exports.SegmentProcessorFactory = exports.RedisSegmentClaimManager = exports.DistributedSegmentProcessor = exports.LocalSegmentProcessor = exports.TranscodeType = exports.AudioQualityEnum = exports.VideoQualityEnum = exports.HardwareAccelerationMethod = exports.StreamType = exports.TranscodeStatus = exports.JobProcessor = exports.HLSController = void 0; // Main controller var hlsController_1 = require("./hlsController"); Object.defineProperty(exports, "HLSController", { enumerable: true, get: function () { return hlsController_1.HLSController; } }); // Core processors var jobProcessor_1 = require("./jobProcessor"); Object.defineProperty(exports, "JobProcessor", { enumerable: true, get: function () { return jobProcessor_1.JobProcessor; } }); // All type exports var types_1 = require("./types"); // Enums Object.defineProperty(exports, "TranscodeStatus", { enumerable: true, get: function () { return types_1.TranscodeStatus; } }); Object.defineProperty(exports, "StreamType", { enumerable: true, get: function () { return types_1.StreamType; } }); Object.defineProperty(exports, "HardwareAccelerationMethod", { enumerable: true, get: function () { return types_1.HardwareAccelerationMethod; } }); Object.defineProperty(exports, "VideoQualityEnum", { enumerable: true, get: function () { return types_1.VideoQualityEnum; } }); Object.defineProperty(exports, "AudioQualityEnum", { enumerable: true, get: function () { return types_1.AudioQualityEnum; } }); Object.defineProperty(exports, "TranscodeType", { enumerable: true, get: function () { return types_1.TranscodeType; } }); // Distributed processing exports var distributed_1 = require("./distributed"); // Implementations Object.defineProperty(exports, "LocalSegmentProcessor", { enumerable: true, get: function () { return distributed_1.LocalSegmentProcessor; } }); Object.defineProperty(exports, "DistributedSegmentProcessor", { enumerable: true, get: function () { return distributed_1.DistributedSegmentProcessor; } }); Object.defineProperty(exports, "RedisSegmentClaimManager", { enumerable: true, get: function () { return distributed_1.RedisSegmentClaimManager; } }); Object.defineProperty(exports, "SegmentProcessorFactory", { enumerable: true, get: function () { return distributed_1.SegmentProcessorFactory; } }); // Re-export the default ffmpeg instance for advanced users var ffmpeg_1 = require("./ffmpeg"); Object.defineProperty(exports, "ffmpeg", { enumerable: true, get: function () { return __importDefault(ffmpeg_1).default; } }); //# sourceMappingURL=index.js.map