@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
65 lines • 2.92 kB
JavaScript
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaBitRateMode } from './KalturaBitRateMode';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaMediaInfo = (function (_super) {
__extends(KalturaMediaInfo, _super);
function KalturaMediaInfo(data) {
return _super.call(this, data) || this;
}
KalturaMediaInfo.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaMediaInfo' },
id: { type: 'n', readOnly: true },
flavorAssetId: { type: 's' },
fileSize: { type: 'n' },
containerFormat: { type: 's' },
containerId: { type: 's' },
containerProfile: { type: 's' },
containerDuration: { type: 'n' },
containerBitRate: { type: 'n' },
videoFormat: { type: 's' },
videoCodecId: { type: 's' },
videoDuration: { type: 'n' },
videoBitRate: { type: 'n' },
videoBitRateMode: { type: 'en', subTypeConstructor: KalturaBitRateMode, subType: 'KalturaBitRateMode' },
videoWidth: { type: 'n' },
videoHeight: { type: 'n' },
videoFrameRate: { type: 'n' },
videoDar: { type: 'n' },
videoRotation: { type: 'n' },
audioFormat: { type: 's' },
audioCodecId: { type: 's' },
audioDuration: { type: 'n' },
audioBitRate: { type: 'n' },
audioBitRateMode: { type: 'en', subTypeConstructor: KalturaBitRateMode, subType: 'KalturaBitRateMode' },
audioChannels: { type: 'n' },
audioSamplingRate: { type: 'n' },
audioResolution: { type: 'n' },
writingLib: { type: 's' },
rawData: { type: 's' },
multiStreamInfo: { type: 's' },
scanType: { type: 'n' },
multiStream: { type: 's' },
isFastStart: { type: 'n' },
contentStreams: { type: 's' },
complexityValue: { type: 'n' },
maxGOP: { type: 'n' }
});
return result;
};
return KalturaMediaInfo;
}(KalturaObjectBase));
export { KalturaMediaInfo };
KalturaTypesFactory.registerType('KalturaMediaInfo', KalturaMediaInfo);
//# sourceMappingURL=KalturaMediaInfo.js.map