@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
49 lines • 2.37 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 { KalturaLiveStreamBitrate } from './KalturaLiveStreamBitrate';
import { KalturaLiveEntry } from './KalturaLiveEntry';
var KalturaLiveStreamEntry = (function (_super) {
__extends(KalturaLiveStreamEntry, _super);
function KalturaLiveStreamEntry(data) {
var _this = _super.call(this, data) || this;
if (typeof _this.bitrates === 'undefined')
_this.bitrates = [];
return _this;
}
KalturaLiveStreamEntry.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaLiveStreamEntry' },
streamRemoteId: { type: 's', readOnly: true },
streamRemoteBackupId: { type: 's', readOnly: true },
bitrates: { type: 'a', subTypeConstructor: KalturaLiveStreamBitrate, subType: 'KalturaLiveStreamBitrate' },
primaryBroadcastingUrl: { type: 's' },
secondaryBroadcastingUrl: { type: 's' },
primaryRtspBroadcastingUrl: { type: 's' },
secondaryRtspBroadcastingUrl: { type: 's' },
streamName: { type: 's' },
streamUrl: { type: 's' },
hlsStreamUrl: { type: 's' },
urlManager: { type: 's' },
encodingIP1: { type: 's' },
encodingIP2: { type: 's' },
streamPassword: { type: 's' },
streamUsername: { type: 's', readOnly: true },
primaryServerNodeId: { type: 'n', readOnly: true }
});
return result;
};
return KalturaLiveStreamEntry;
}(KalturaLiveEntry));
export { KalturaLiveStreamEntry };
KalturaTypesFactory.registerType('KalturaLiveStreamEntry', KalturaLiveStreamEntry);
//# sourceMappingURL=KalturaLiveStreamEntry.js.map