@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
20 lines (19 loc) • 650 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebVttSidecarFileSegmentation = void 0;
const Mapper_1 = require("../common/Mapper");
/**
* The segmenting configuration for this WebVTT sidecar file. If this is set, the given vtt file will be chunked.
* @export
* @class WebVttSidecarFileSegmentation
*/
class WebVttSidecarFileSegmentation {
constructor(obj) {
if (!obj) {
return;
}
this.segmentLength = (0, Mapper_1.map)(obj.segmentLength);
}
}
exports.WebVttSidecarFileSegmentation = WebVttSidecarFileSegmentation;
exports.default = WebVttSidecarFileSegmentation;