UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

38 lines (37 loc) 1.54 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var BaseAPI_1 = require("../../common/BaseAPI"); var StreamKeysApi_1 = require("./streamKeys/StreamKeysApi"); var StandbyPoolsApi_1 = require("./standbyPools/StandbyPoolsApi"); /** * LiveApi - object-oriented interface * @export * @class LiveApi * @extends {BaseAPI} */ var LiveApi = /** @class */ (function (_super) { __extends(LiveApi, _super); function LiveApi(configuration) { var _this = _super.call(this, configuration) || this; _this.streamKeys = new StreamKeysApi_1.default(configuration); _this.standbyPools = new StandbyPoolsApi_1.default(configuration); return _this; } return LiveApi; }(BaseAPI_1.BaseAPI)); exports.default = LiveApi;