UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

29 lines (28 loc) 1.32 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AzureSpeechToCaptionsSettings = void 0; var Mapper_1 = require("../common/Mapper"); var AzureSpeechServicesCredentials_1 = require("./AzureSpeechServicesCredentials"); /** * @export * @class AzureSpeechToCaptionsSettings */ var AzureSpeechToCaptionsSettings = /** @class */ (function () { function AzureSpeechToCaptionsSettings(obj) { if (!obj) { return; } this.azureSpeechServicesCredentials = (0, Mapper_1.map)(obj.azureSpeechServicesCredentials, AzureSpeechServicesCredentials_1.default); this.region = (0, Mapper_1.map)(obj.region); this.apiEndpoint = (0, Mapper_1.map)(obj.apiEndpoint); this.language = (0, Mapper_1.map)(obj.language); this.captionDelay = (0, Mapper_1.map)(obj.captionDelay); this.captionRemainTime = (0, Mapper_1.map)(obj.captionRemainTime); this.captionMaxLineLength = (0, Mapper_1.map)(obj.captionMaxLineLength); this.captionLines = (0, Mapper_1.map)(obj.captionLines); this.profanityOption = (0, Mapper_1.map)(obj.profanityOption); } return AzureSpeechToCaptionsSettings; }()); exports.AzureSpeechToCaptionsSettings = AzureSpeechToCaptionsSettings; exports.default = AzureSpeechToCaptionsSettings;