@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
21 lines (20 loc) • 748 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebVttSidecarFileSegmentation = void 0;
var 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
*/
var WebVttSidecarFileSegmentation = /** @class */ (function () {
function WebVttSidecarFileSegmentation(obj) {
if (!obj) {
return;
}
this.segmentLength = (0, Mapper_1.map)(obj.segmentLength);
}
return WebVttSidecarFileSegmentation;
}());
exports.WebVttSidecarFileSegmentation = WebVttSidecarFileSegmentation;
exports.default = WebVttSidecarFileSegmentation;