UNPKG

@kaltura-ng/kaltura-client

Version:
42 lines 2.04 kB
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 { KalturaLiveStatsEventType } from './KalturaLiveStatsEventType'; import { KalturaPlaybackProtocol } from './KalturaPlaybackProtocol'; import { KalturaObjectBase } from '../kaltura-object-base'; var KalturaLiveStatsEvent = (function (_super) { __extends(KalturaLiveStatsEvent, _super); function KalturaLiveStatsEvent(data) { return _super.call(this, data) || this; } KalturaLiveStatsEvent.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaLiveStatsEvent' }, partnerId: { type: 'n' }, entryId: { type: 's' }, eventType: { type: 'en', subTypeConstructor: KalturaLiveStatsEventType, subType: 'KalturaLiveStatsEventType' }, sessionId: { type: 's' }, eventIndex: { type: 'n' }, bufferTime: { type: 'n' }, bitrate: { type: 'n' }, referrer: { type: 's' }, isLive: { type: 'b' }, startTime: { type: 's' }, deliveryType: { type: 'es', subTypeConstructor: KalturaPlaybackProtocol, subType: 'KalturaPlaybackProtocol' } }); return result; }; return KalturaLiveStatsEvent; }(KalturaObjectBase)); export { KalturaLiveStatsEvent }; KalturaTypesFactory.registerType('KalturaLiveStatsEvent', KalturaLiveStatsEvent); //# sourceMappingURL=KalturaLiveStatsEvent.js.map