@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
48 lines (47 loc) • 1.98 kB
JavaScript
;
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 H262Api_1 = require("./h262/H262Api");
var H264Api_1 = require("./h264/H264Api");
var H265Api_1 = require("./h265/H265Api");
var Vp8Api_1 = require("./vp8/Vp8Api");
var Vp9Api_1 = require("./vp9/Vp9Api");
var Av1Api_1 = require("./av1/Av1Api");
var MjpegApi_1 = require("./mjpeg/MjpegApi");
/**
* VideoApi - object-oriented interface
* @export
* @class VideoApi
* @extends {BaseAPI}
*/
var VideoApi = /** @class */ (function (_super) {
__extends(VideoApi, _super);
function VideoApi(configuration) {
var _this = _super.call(this, configuration) || this;
_this.h262 = new H262Api_1.default(configuration);
_this.h264 = new H264Api_1.default(configuration);
_this.h265 = new H265Api_1.default(configuration);
_this.vp8 = new Vp8Api_1.default(configuration);
_this.vp9 = new Vp9Api_1.default(configuration);
_this.av1 = new Av1Api_1.default(configuration);
_this.mjpeg = new MjpegApi_1.default(configuration);
return _this;
}
return VideoApi;
}(BaseAPI_1.BaseAPI));
exports.default = VideoApi;