UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

41 lines (40 loc) 1.34 kB
import CodecConfigType from './CodecConfigType'; import SubtitleConfiguration from './SubtitleConfiguration'; import WebVttCueIdentifierPolicy from './WebVttCueIdentifierPolicy'; import WebVttStyling from './WebVttStyling'; /** * @export * @class WebVttConfiguration */ export declare class WebVttConfiguration extends SubtitleConfiguration { /** * Discriminator property for CodecConfiguration * @type {string} * @memberof WebVttConfiguration */ readonly type: CodecConfigType; /** * If set to true, the hours section on webvtt timestamp values will explicitely have zeroes instead of being omitted for values where hours = 0. * @type {boolean} * @memberof WebVttConfiguration */ appendOptionalZeroHour?: boolean; /** * If set to true, the region information of the resulting webvtt file will be omitted. Defaults to false. * @type {boolean} * @memberof WebVttConfiguration */ ignoreRegion?: boolean; /** * @type {WebVttCueIdentifierPolicy} * @memberof WebVttConfiguration */ cueIdentifierPolicy?: WebVttCueIdentifierPolicy; /** * @type {WebVttStyling} * @memberof WebVttConfiguration */ styling?: WebVttStyling; constructor(obj?: Partial<WebVttConfiguration>); } export default WebVttConfiguration;