@bitmovin/api-sdk 1.139.0 → 1.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +100 -6
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/ConsoleLogger.js +1 -1
- package/dist/common/Mapper.d.ts +1 -1
- package/dist/common/NullLogger.js +1 -1
- package/dist/common/RestClient.d.ts +1 -1
- package/dist/common/RestClient.js +2 -2
- package/dist/models/AbstractCondition.d.ts +1 -1
- package/dist/models/AdAnalyticsAbstractFilter.d.ts +1 -1
- package/dist/models/AdaptationSet.d.ts +1 -1
- package/dist/models/AnalyticsAbstractFilter.d.ts +1 -1
- package/dist/models/AnalyticsOutput.d.ts +1 -1
- package/dist/models/BroadcastTsTransportConfiguration.d.ts +2 -2
- package/dist/models/CodecConfiguration.d.ts +1 -1
- package/dist/models/DashRepresentation.d.ts +1 -1
- package/dist/models/DefaultManifestCondition.d.ts +1 -1
- package/dist/models/DolbyVisionTrackSampleEntryName.d.ts +1 -1
- package/dist/models/DolbyVisionTrackSampleEntryName.js +1 -1
- package/dist/models/Drm.d.ts +1 -1
- package/dist/models/Filter.d.ts +1 -1
- package/dist/models/H262VideoConfiguration.d.ts +1 -1
- package/dist/models/H264VideoConfiguration.d.ts +6 -6
- package/dist/models/H265VideoConfiguration.d.ts +7 -7
- package/dist/models/HeAacV1AudioConfiguration.d.ts +1 -1
- package/dist/models/HeAacV2AudioConfiguration.d.ts +1 -1
- package/dist/models/Id3Tag.d.ts +1 -1
- package/dist/models/Input.d.ts +1 -1
- package/dist/models/InputStream.d.ts +1 -1
- package/dist/models/Muxing.d.ts +1 -1
- package/dist/models/MvPredictionMode.d.ts +1 -1
- package/dist/models/MvPredictionMode.js +1 -1
- package/dist/models/Output.d.ts +2 -1
- package/dist/models/SidecarFile.d.ts +1 -1
- package/dist/models/SimpleEncodingLiveJobOutput.d.ts +2 -2
- package/dist/models/SimpleEncodingVodJobCdnOutput.d.ts +1 -1
- package/dist/models/SimpleEncodingVodJobInput.d.ts +1 -1
- package/dist/models/SimpleEncodingVodJobOutput.d.ts +1 -1
- package/dist/models/StartEncodingRequest.d.ts +3 -3
- package/dist/models/StartLiveEncodingRequest.d.ts +1 -1
- package/dist/models/StartManifestRequest.d.ts +1 -1
- package/dist/models/StreamsLiveUpdateRequest.d.ts +20 -0
- package/dist/models/StreamsLiveUpdateRequest.js +20 -0
- package/dist/models/Vp8VideoConfiguration.d.ts +3 -3
- package/dist/models/Vp9VideoConfiguration.d.ts +3 -3
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/streams/StreamsApi.d.ts +2 -0
- package/dist/streams/StreamsApi.js +2 -0
- package/dist/streams/live/LiveApi.d.ts +20 -0
- package/dist/streams/live/LiveApi.js +49 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5531,7 +5531,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
5531
5531
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
5532
5532
|
function step(op) {
|
|
5533
5533
|
if (f) throw new TypeError("Generator is already executing.");
|
|
5534
|
-
while (_) try {
|
|
5534
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
5535
5535
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
5536
5536
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
5537
5537
|
switch (op[0]) {
|
|
@@ -5690,7 +5690,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
5690
5690
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
5691
5691
|
function step(op) {
|
|
5692
5692
|
if (f) throw new TypeError("Generator is already executing.");
|
|
5693
|
-
while (_) try {
|
|
5693
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
5694
5694
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
5695
5695
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
5696
5696
|
switch (op[0]) {
|
|
@@ -5776,7 +5776,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
5776
5776
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
5777
5777
|
function step(op) {
|
|
5778
5778
|
if (f) throw new TypeError("Generator is already executing.");
|
|
5779
|
-
while (_) try {
|
|
5779
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
5780
5780
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
5781
5781
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
5782
5782
|
switch (op[0]) {
|
|
@@ -5987,7 +5987,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
5987
5987
|
var headers = {
|
|
5988
5988
|
'X-Api-Key': apiKey,
|
|
5989
5989
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
5990
|
-
'X-Api-Client-Version': '1.
|
|
5990
|
+
'X-Api-Client-Version': '1.141.0',
|
|
5991
5991
|
'Content-Type': 'application/json'
|
|
5992
5992
|
};
|
|
5993
5993
|
if (tenantOrgId) {
|
|
@@ -65920,7 +65920,7 @@ exports["default"] = DolbyVisionProfile;
|
|
|
65920
65920
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
65921
65921
|
exports.DolbyVisionTrackSampleEntryName = void 0;
|
|
65922
65922
|
/**
|
|
65923
|
-
*
|
|
65923
|
+
* Dolby Vision track's sample entry name
|
|
65924
65924
|
* @export
|
|
65925
65925
|
* @enum {string}
|
|
65926
65926
|
*/
|
|
@@ -73440,7 +73440,7 @@ exports["default"] = MuxingTypeResponse;
|
|
|
73440
73440
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
73441
73441
|
exports.MvPredictionMode = void 0;
|
|
73442
73442
|
/**
|
|
73443
|
-
*
|
|
73443
|
+
* Motion vector prediction mode
|
|
73444
73444
|
* @export
|
|
73445
73445
|
* @enum {string}
|
|
73446
73446
|
*/
|
|
@@ -81122,6 +81122,37 @@ var StreamSelectionMode;
|
|
|
81122
81122
|
exports["default"] = StreamSelectionMode;
|
|
81123
81123
|
|
|
81124
81124
|
|
|
81125
|
+
/***/ }),
|
|
81126
|
+
|
|
81127
|
+
/***/ "./models/StreamsLiveUpdateRequest.ts":
|
|
81128
|
+
/*!********************************************!*\
|
|
81129
|
+
!*** ./models/StreamsLiveUpdateRequest.ts ***!
|
|
81130
|
+
\********************************************/
|
|
81131
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
81132
|
+
|
|
81133
|
+
"use strict";
|
|
81134
|
+
|
|
81135
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
81136
|
+
exports.StreamsLiveUpdateRequest = void 0;
|
|
81137
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
81138
|
+
/**
|
|
81139
|
+
* @export
|
|
81140
|
+
* @class StreamsLiveUpdateRequest
|
|
81141
|
+
*/
|
|
81142
|
+
var StreamsLiveUpdateRequest = /** @class */ (function () {
|
|
81143
|
+
function StreamsLiveUpdateRequest(obj) {
|
|
81144
|
+
if (!obj) {
|
|
81145
|
+
return;
|
|
81146
|
+
}
|
|
81147
|
+
this.title = (0, Mapper_1.map)(obj.title);
|
|
81148
|
+
this.description = (0, Mapper_1.map)(obj.description);
|
|
81149
|
+
}
|
|
81150
|
+
return StreamsLiveUpdateRequest;
|
|
81151
|
+
}());
|
|
81152
|
+
exports.StreamsLiveUpdateRequest = StreamsLiveUpdateRequest;
|
|
81153
|
+
exports["default"] = StreamsLiveUpdateRequest;
|
|
81154
|
+
|
|
81155
|
+
|
|
81125
81156
|
/***/ }),
|
|
81126
81157
|
|
|
81127
81158
|
/***/ "./models/StreamsVideoCreateRequest.ts":
|
|
@@ -85247,6 +85278,7 @@ __exportStar(__webpack_require__(/*! ./StreamMode */ "./models/StreamMode.ts"),
|
|
|
85247
85278
|
__exportStar(__webpack_require__(/*! ./StreamPerTitleFixedResolutionAndBitrateSettings */ "./models/StreamPerTitleFixedResolutionAndBitrateSettings.ts"), exports);
|
|
85248
85279
|
__exportStar(__webpack_require__(/*! ./StreamPerTitleSettings */ "./models/StreamPerTitleSettings.ts"), exports);
|
|
85249
85280
|
__exportStar(__webpack_require__(/*! ./StreamSelectionMode */ "./models/StreamSelectionMode.ts"), exports);
|
|
85281
|
+
__exportStar(__webpack_require__(/*! ./StreamsLiveUpdateRequest */ "./models/StreamsLiveUpdateRequest.ts"), exports);
|
|
85250
85282
|
__exportStar(__webpack_require__(/*! ./StreamsVideoCreateRequest */ "./models/StreamsVideoCreateRequest.ts"), exports);
|
|
85251
85283
|
__exportStar(__webpack_require__(/*! ./StreamsVideoEncodingStatus */ "./models/StreamsVideoEncodingStatus.ts"), exports);
|
|
85252
85284
|
__exportStar(__webpack_require__(/*! ./StreamsVideoEncodingTask */ "./models/StreamsVideoEncodingTask.ts"), exports);
|
|
@@ -88944,6 +88976,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
88944
88976
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
88945
88977
|
var BaseAPI_1 = __webpack_require__(/*! ../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
88946
88978
|
var VideoApi_1 = __webpack_require__(/*! ./video/VideoApi */ "./streams/video/VideoApi.ts");
|
|
88979
|
+
var LiveApi_1 = __webpack_require__(/*! ./live/LiveApi */ "./streams/live/LiveApi.ts");
|
|
88947
88980
|
/**
|
|
88948
88981
|
* StreamsApi - object-oriented interface
|
|
88949
88982
|
* @export
|
|
@@ -88955,6 +88988,7 @@ var StreamsApi = /** @class */ (function (_super) {
|
|
|
88955
88988
|
function StreamsApi(configuration) {
|
|
88956
88989
|
var _this = _super.call(this, configuration) || this;
|
|
88957
88990
|
_this.video = new VideoApi_1.default(configuration);
|
|
88991
|
+
_this.live = new LiveApi_1.default(configuration);
|
|
88958
88992
|
return _this;
|
|
88959
88993
|
}
|
|
88960
88994
|
return StreamsApi;
|
|
@@ -88962,6 +88996,66 @@ var StreamsApi = /** @class */ (function (_super) {
|
|
|
88962
88996
|
exports["default"] = StreamsApi;
|
|
88963
88997
|
|
|
88964
88998
|
|
|
88999
|
+
/***/ }),
|
|
89000
|
+
|
|
89001
|
+
/***/ "./streams/live/LiveApi.ts":
|
|
89002
|
+
/*!*********************************!*\
|
|
89003
|
+
!*** ./streams/live/LiveApi.ts ***!
|
|
89004
|
+
\*********************************/
|
|
89005
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
89006
|
+
|
|
89007
|
+
"use strict";
|
|
89008
|
+
|
|
89009
|
+
var __extends = (this && this.__extends) || (function () {
|
|
89010
|
+
var extendStatics = function (d, b) {
|
|
89011
|
+
extendStatics = Object.setPrototypeOf ||
|
|
89012
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
89013
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
89014
|
+
return extendStatics(d, b);
|
|
89015
|
+
};
|
|
89016
|
+
return function (d, b) {
|
|
89017
|
+
if (typeof b !== "function" && b !== null)
|
|
89018
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
89019
|
+
extendStatics(d, b);
|
|
89020
|
+
function __() { this.constructor = d; }
|
|
89021
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
89022
|
+
};
|
|
89023
|
+
})();
|
|
89024
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
89025
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
89026
|
+
var Mapper_1 = __webpack_require__(/*! ../../common/Mapper */ "./common/Mapper.ts");
|
|
89027
|
+
var StreamsLiveUpdateRequest_1 = __webpack_require__(/*! ../../models/StreamsLiveUpdateRequest */ "./models/StreamsLiveUpdateRequest.ts");
|
|
89028
|
+
/**
|
|
89029
|
+
* LiveApi - object-oriented interface
|
|
89030
|
+
* @export
|
|
89031
|
+
* @class LiveApi
|
|
89032
|
+
* @extends {BaseAPI}
|
|
89033
|
+
*/
|
|
89034
|
+
var LiveApi = /** @class */ (function (_super) {
|
|
89035
|
+
__extends(LiveApi, _super);
|
|
89036
|
+
function LiveApi(configuration) {
|
|
89037
|
+
return _super.call(this, configuration) || this;
|
|
89038
|
+
}
|
|
89039
|
+
/**
|
|
89040
|
+
* @summary Update stream by id
|
|
89041
|
+
* @param {string} streamId Id of the stream.
|
|
89042
|
+
* @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest Stream fields to update.
|
|
89043
|
+
* @throws {BitmovinError}
|
|
89044
|
+
* @memberof LiveApi
|
|
89045
|
+
*/
|
|
89046
|
+
LiveApi.prototype.patchStreamsLive = function (streamId, streamsLiveUpdateRequest) {
|
|
89047
|
+
var pathParamMap = {
|
|
89048
|
+
stream_id: streamId
|
|
89049
|
+
};
|
|
89050
|
+
return this.restClient.patch('/streams/live/{stream_id}', pathParamMap, streamsLiveUpdateRequest).then(function (response) {
|
|
89051
|
+
return (0, Mapper_1.map)(response, StreamsLiveUpdateRequest_1.default);
|
|
89052
|
+
});
|
|
89053
|
+
};
|
|
89054
|
+
return LiveApi;
|
|
89055
|
+
}(BaseAPI_1.BaseAPI));
|
|
89056
|
+
exports["default"] = LiveApi;
|
|
89057
|
+
|
|
89058
|
+
|
|
88965
89059
|
/***/ }),
|
|
88966
89060
|
|
|
88967
89061
|
/***/ "./streams/video/StreamsVideoResponseListQueryParams.ts":
|